AI Content Review: Accessibility¶
AI Content Review: Accessibility is a Drupal recipe. It adds an Accessibility review to AI Content Review: an AI review that checks the parts of WCAG 2.2 AA that editors control: headings, link text, alternative text, audio and video, lists, tables, quotations, plain language, sensory instructions and language of parts.
It reviews the text of the fields it is given. The theme, navigation, layout, colour contrast and focus order are out of its reach.
What the recipe provides¶
- The AI Context item "Accessibility content guidelines", the guidelines the review applies.
- The FlowDrop workflow
accessibility_reviewand its tool node typeaccessibility_review_tool, which Tool API exposes asflowdrop_workflow:accessibility_review_tool. - The review rule
accessibility: onetool_basedcriterion, enabled on every content type, run on request (scheduling is off). - AI Content Review Base, applied first.
How the review runs¶
flowchart LR
editor[Editor runs the review] --> rule[Rule accessibility]
rule -->|title and text fields| inputs[Workflow inputs]
context[AI Context item] -->|guidelines| prompt[Review prompt]
inputs --> prompt
prompt --> model[Default chat model]
model -->|JSON| parse[Parse]
parse --> record[Review record and suggestions]
Pages¶
- Installation: Composer requirements and how to apply the recipe.
- Configuration: the guidelines, the workflow and the review rule.
- Usage: running the review and reading the result.