Accessibility review

From FerroxLabs/murage · View interactive version

Accessibility review is an AI agent skill from the GitHub repository FerroxLabs/murage. Conducts a WCAG 2.1 AA accessibility review covering color contrast, keyboard navigation, screen reader markup, touch targets, and ARIA labels with a structured remediation checklist. Use when the user asks to review accessibility, check WCAG compliance, audit for screen reader compatibility, or eva

How to use this skill

Skill file

Accessibility Review

When to Use

Use this skill when:

Do NOT use when:


Process

Step 1 -- Gather Context and Scope the Review

Before evaluating anything, establish what you are reviewing and at what fidelity. Ask or infer:

If the user provides a verbal description only, state explicitly which findings are inferred from the description and which would require live testing to confirm.


Step 2 -- Evaluate Perceivable Criteria (WCAG Principle 1)

Work through each sub-principle systematically. For each finding, record the criterion number, a specific finding, and a specific fix.

1.1 -- Text Alternatives (SC 1.1.1)

1.3 -- Adaptable Structure (SC 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5)

1.4 -- Distinguishable (SC 1.4.1 through 1.4.13)

Color contrast is the most commonly failed criterion. Apply these exact thresholds:

| Text Type | Minimum (AA) | Enhanced (AAA) |

|---|---|---|

| Normal text (below 18px regular or 14px bold) | 4.5:1 | 7:1 |

| Large text (18px+ regular or 14px+ bold) | 3:1 | 4.5:1 |

| UI component boundaries, icons, focus indicators | 3:1 | N/A (AAA) |

| Inactive/disabled elements | Exempt | Exempt |

| Logo/brand elements | Exempt | Exempt |


Step 3 -- Evaluate Operable Criteria (WCAG Principle 2)

2.1 -- Keyboard Accessible (SC 2.1.1, 2.1.2, 2.1.4)

2.4 -- Navigable (SC 2.4.1 through 2.4.7)

2.5 -- Input Modalities (SC 2.5.1 through 2.5.4)


Step 4 -- Evaluate Understandable Criteria (WCAG Principle 3)

3.1 -- Readable (SC 3.1.1, 3.1.2)

3.2 -- Predictable (SC 3.2.1, 3.2.2, 3.2.3, 3.2.4)

3.3 -- Input Assistance (SC 3.3.1 through 3.3.4)


Step 5 -- Evaluate Robust Criteria (WCAG Principle 4)

4.1 -- Compatible (SC 4.1.1, 4.1.2, 4.1.3)

SC 4.1.1 (Parsing) is largely addressed by valid HTML, but several patterns still cause real-world screen reader failures:

SC 4.1.2 -- Name, Role, Value -- is the most technically demanding criterion:


Step 6 -- Classify, Prioritize, and Assign Remediation Effort

For every finding, assign:

Result classification:

Priority classification:

Effort estimation:


Step 7 -- Compile the Full Review Report

Structure the report using the Output Format below. Include:


Output Format

## Accessibility Review: [Interface Name]

### Summary
- **Review date:** [Date or "Based on description provided"]
- **Target level:** WCAG 2.1 AA
- **Artifacts reviewed:** [Live URL / design mockup / component specification / verbal description]
- **Overall result:** [X] failures | [X] warnings | [X] passes | [X] not applicable
- **P1 Critical failures (must fix before release):**
  1. [Criterion X.X.X] -- [One-sentence issue description]
  2. [Criterion X.X.X] -- [One-sentence issue description]

---

### Principle 1 -- Perceivable

| Criterion | SC Title                    | Result | Finding                                         | Required Fix                                              |
|-----------|-----------------------------|--------|-------------------------------------------------|-----------------------------------------------------------|
| 1.1.1     | Non-text content            | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 1.3.1     | Info and relationships      | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 1.3.2     | Meaningful sequence         | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 1.3.3     | Sensory characteristics     | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 1.3.4     | Orientation                 | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 1.3.5     | Identify input purpose      | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 1.4.1     | Use of color                | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 1.4.3     | Contrast (minimum)          | PASS/FAIL/WARN/N/A | [Ratio stated as X.X:1 vs Y.Y:1]   | [Specific hex color fix or N/A]                           |
| 1.4.4     | Resize text                 | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 1.4.10    | Reflow                      | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 1.4.11    | Non-text contrast           | PASS/FAIL/WARN/N/A | [Ratio stated as X.X:1 vs 3:1]     | [Specific fix or N/A]                                     |
| 1.4.12    | Text spacing                | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 1.4.13    | Content on hover or focus   | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |

---

### Principle 2 -- Operable

| Criterion | SC Title                    | Result | Finding                                         | Required Fix                                              |
|-----------|-----------------------------|--------|-------------------------------------------------|-----------------------------------------------------------|
| 2.1.1     | Keyboard                    | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 2.1.2     | No keyboard trap            | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 2.4.1     | Bypass blocks               | PASS/FAIL/WARN/N/A | [Skip link present/absent]          | [Specific fix or N/A]                                     |
| 2.4.2     | Page titled                 | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 2.4.3     | Focus order                 | PASS/FAIL/WARN/N/A | [Tab sequence described]            | [Specific fix or N/A]                                     |
| 2.4.4     | Link purpose                | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 2.4.6     | Headings and labels         | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 2.4.7     | Focus visible               | PASS/FAIL/WARN/N/A | [Focus ring visibility described]   | [Specific CSS fix or N/A]                                 |
| 2.5.1     | Pointer gestures            | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 2.5.3     | Label in name               | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |

---

### Principle 3 -- Understandable

| Criterion | SC Title                    | Result | Finding                                         | Required Fix                                              |
|-----------|-----------------------------|--------|-------------------------------------------------|-----------------------------------------------------------|
| 3.1.1     | Language of page            | PASS/FAIL/WARN/N/A | [lang attribute value or absent]    | [Specific fix or N/A]                                     |
| 3.2.1     | On focus                    | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 3.2.2     | On input                    | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 3.3.1     | Error identification         | PASS/FAIL/WARN/N/A | [Error message description]         | [Specific fix or N/A]                                     |
| 3.3.2     | Labels or instructions      | PASS/FAIL/WARN/N/A | [Label association method noted]    | [Specific fix or N/A]                                     |
| 3.3.3     | Error suggestion            | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |
| 3.3.4     | Error prevention            | PASS/FAIL/WARN/N/A | [Specific observation]              | [Specific fix or N/A]                                     |

---

### Principle 4 -- Robust

| Criterion | SC Title                    | Result | Finding                                         | Required Fix                                              |
|-----------|-----------------------------|--------|-------------------------------------------------|-----------------------------------------------------------|
| 4.1.1     | Parsing                     | PASS/FAIL/WARN/N/A | [Duplicate IDs, nesting issues]     | [Specific fix or N/A]                                     |
| 4.1.2     | Name, role, value           | PASS/FAIL/WARN/N/A | [ARIA usage described]              | [Specific fix or N/A]                                     |
| 4.1.3     | Status messages             | PASS/FAIL/WARN/N/A | [Live region usage described]       | [Specific fix or N/A]                                     |

---

### Remediation Checklist (Ordered by Priority)

| Priority | P-Level | Criterion | Issue Summary                           | Specific Fix                                               | Effort |
|----------|---------|-----------|-----------------------------------------|------------------------------------------------------------|--------|
| 1        | P1      | [X.X.X]   | [Issue in 10 words or fewer]            | [Exact implementation instruction]                         | S/M/L  |
| 2        | P1      | [X.X.X]   | [Issue in 10 words or fewer]            | [Exact implementation instruction]                         | S/M/L  |
| 3        | P2      | [X.X.X]   | [Issue in 10 words or fewer]            | [Exact implementation instruction]                         | S/M/L  |
| 4        | P3      | [X.X.X]   | [Issue in 10 words or fewer]            | [Exact implementation instruction]                         | S/M/L  |

---

### Testing Recommendations

**Automated tools (run these first -- they catch ~30-40% of issues):**
- axe DevTools browser extension: Run against every page template and every interactive component state
- Lighthouse Accessibility audit: Score provides a baseline but miss many issues automated tools cannot detect
- color contrast analyzers: Use the browser's color picker with a contrast calculation tool to test specific color pairs

**Manual keyboard testing (catches issues automated tools miss):**
- [Specific sequences to test for this interface, e.g., "Tab through checkout flow: cart > address > payment > confirmation"]
- Test modal open/close focus management
- Test error state triggering and focus movement
- Verify skip link appears on first Tab press and navigates to `<main>`

**Assistive technology testing combinations:**
| Screen Reader       | Browser          | Platform | Priority |
|---------------------|------------------|----------|----------|
| NVDA (latest)       | Chrome (latest)  | Windows  | High     |
| NVDA (latest)       | Firefox (latest) | Windows  | Medium   |
| JAWS (latest)       | Chrome (latest)  | Windows  | High     |
| VoiceOver           | Safari (latest)  | macOS    | High     |
| VoiceOver           | Safari (latest)  | iOS      | High     |
| TalkBack            | Chrome           | Android  | High     |

**Component-specific testing notes:**
- [Any custom widget found in the interface -- state what screen reader interaction to verify]

Rules

  1. Always state contrast ratios as exact numbers. Never write "low contrast" or "insufficient contrast" without immediately following it with the measured ratio and the required minimum (e.g., "3.1:1, fails the 4.5:1 AA minimum for normal text"). Vague descriptions are not actionable.
  1. Never recommend adding aria-label to an element that already has a matching visible text label. If a button contains visible text that accurately describes its function, no ARIA label is needed. Adding a conflicting aria-label breaks SC 2.5.3 (Label in Name) and creates a discrepancy between what sighted users see and what screen reader users hear.
  1. Never recommend role="button" on an <a> element. Links (<a href>) and buttons serve different semantic and behavioral functions. Links navigate; buttons perform actions. Use the correct native element. If a <div> must be interactive, use <button> or <a> natively before reaching for ARIA roles.
  1. Every FAIL finding must include a concrete implementation fix, not a restatement of the requirement. "Add a text alternative" is not a fix. "Add alt='Monthly revenue chart showing 23% growth from Q1 to Q4' to the <img> element" is a fix.
  1. When reviewing a design mockup (not live code), explicitly label interactive/ARIA criteria as "Requires code implementation testing." Criteria that cannot be assessed from a static design include: keyboard trap (2.1.2), focus order (2.4.3) beyond visual layout, ARIA states (4.1.2), and status message announcements (4.1.3). Provide the design specification (what should happen) rather than a pass/fail verdict.
  1. Validate ARIA against the role's required owned elements and allowed properties. For example: role="listbox" requires children with role="option". role="combobox" requires aria-expanded and must own a role="listbox" or role="grid". role="dialog" requires an accessible name via aria-labelledby or aria-label. A dialog without a name is a critical failure of 4.1.2.
  1. Report aria-hidden="true" on focusable elements as a P1 critical failure. If a keyboard-focusable element (button, link, input) has aria-hidden="true", keyboard users will focus it but screen reader users will receive no announcement -- the element will be silently skipped or announced without context. This is one of the most confusing accessibility failures possible.
  1. Touch target findings must state the estimated or measured pixel dimensions. "The close button is approximately 20x20px, below the 44x44px minimum" is actionable. "The touch target is too small" is not. When only a design description is available, estimate from proportional context.
  1. Link purpose failures must identify the specific link text that is ambiguous AND provide a proposed fix. For generic text like "Read more", propose the complete replacement: "Read more about [article title]" or the use of aria-label="Read more about [article title]" if the visible text must remain truncated for design reasons.
  1. WCAG 2.1 AA does not require AAA criteria -- do not mark AAA-only items as failures. When a AAA criterion would significantly benefit users (SC 2.4.9 Link Purpose Link Only, SC 1.4.6 Enhanced Contrast, SC 2.5.5 Target Size at 44x44px), list it as a WARN with a note that it exceeds AA requirements. Be explicit that it is a best practice recommendation, not a compliance failure.
  1. Do not evaluate inactive/disabled elements for color contrast. WCAG 1.4.3 explicitly exempts "inactive user interface components." However, flag if an element appears disabled but is actually active -- that is a different failure of SC 1.3.3 (sensory characteristics) and 3.2.4 (consistent identification).
  1. Order the remediation checklist by P-level first (P1 before P2), then by estimated effort within each P-level (S before M before L). This prioritizes the highest-impact, lowest-effort fixes at the top.

Edge Cases

Design Mockup Without Live Code

When only static design artifacts (Figma frames, screenshots, wireframes) are available:

Single-Page Application (SPA) with Dynamic Route Changes

Complex Data Visualizations (Charts, Graphs, Maps, Heatmaps)

Forms with Complex Validation and Multi-Step Flows

Third-Party Embedded Content

Mobile Native Applications (iOS and Android)

Video and Audio Content


Example

Input: "Can you do an accessibility review of a checkout flow? It's a three-step web form. Step 1 is a shipping address form with fields for full name, address line 1 and 2, city, state (dropdown), and zip code, plus a 'Continue' button. Step 2 is payment with credit card number, expiration date (MM/YY), CVV, and a 'Place Order' button. There's a 'Lock' icon next to the button that means the transaction is secure. The body text color is #767676 on a #FFFFFF background. The placeholder text for all inputs is #B0B0B0. Input borders are #CCCCCC on white. The 'Continue' and 'Place Order' buttons are white text (#FFFFFF) on the brand color #3D8B3D. Required fields are marked only with a red asterisk. There's a step indicator at the top (Step 1, Step 2, Step 3) with the active step shown in green and inactive steps in gray. The form fields have no visible focus rings -- the browser default was removed. State the full review."


Accessibility Review: Checkout Flow (3-Step Form)

Summary

1. [2.4.7] Focus indicators removed on all form fields -- keyboard users cannot determine their location in the form

2. [1.4.11] Input borders (#CCCCCC on #FFFFFF) have 1.6:1 contrast -- fails the 3:1 minimum for UI components; inputs are visually unrecognizable as inputs in low-vision conditions

3. [3.3.1 / 4.1.2] Required field asterisks are marked only in red with no programmatic association -- screen reader users receive no indication that fields are required

4. [1.1.1] Lock icon has no accessible name -- screen reader users will not know the transaction is described as secure


Principle 1 -- Perceivable

| Criterion | SC Title | Result | Finding | Required Fix |

|-----------|-----------------------------|--------|---------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|

| 1.1.1 | Non-text content | FAIL | Lock icon next to "Place Order" has no text alternative. Screen reader users hear nothing or "image". | Add aria-label="Secure transaction" to the icon element, or add visually hidden text <span class="sr-only">Secure transaction</span> adjacent to the icon. Mark the icon itself aria-hidden="true". |

| 1.3.1 | Info and relationships | FAIL | Required fields indicated by red asterisk only; no programmatic aria-required="true" or native required attribute. Step indicator active state conveyed only by green color. | Add required attribute (or aria-required="true") to all required inputs. Add aria-current="step" to the active step in the step indicator. |

| 1.3.5 | Identify input purpose | WARN | Credit card number, expiration, CVV, name, and address fields are missing autocomplete attributes. | Add autocomplete="cc-number", autocomplete="cc-exp", autocomplete="cc-csc", autocomplete="name", autocomplete="address-line1", autocomplete="address-line2", autocomplete="address-level2" (city), autocomplete="address-level1" (state), autocomplete="postal-code". |

| 1.4.1 | Use of color | FAIL | Step indicator distinguishes active vs. inactive steps using only green vs. gray color. Users with color blindness (protanopia, deuteranopia) cannot identify the active step. | Add aria-current="step" programmatically. Visually, supplement color with a bold weight, underline, or visible step number text style change (not color alone). |

| 1.4.3 | Contrast (minimum) -- body text | PASS | #767676 on #FFFFFF = 4.48:1. This is the minimum passing value for normal text (≥4.5:1 required). Note: this is a marginal pass. Any antialiasing or rendering variation could push it below threshold. | Consider upgrading to #757575 (4.60:1) or #6B6B6B (5.74:1) for a more robust margin. Technically a pass; flagged as WARN. |

| 1.4.3 | Contrast (minimum) -- placeholder text | FAIL | #B0B0B0 on #FFFFFF = 2.3:1. Fails the 4.5:1 minimum. Placeholder text is not exempt from contrast requirements when it provides instructions or serves as a label substitute. | Darken placeholder text to #767676 (4.48:1, marginal) or #696969 (5.74:1, preferred). Do not use placeholder text as a substitute for visible labels. |

| 1.4.3

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.