Fixing accessibility

From sickn33/agentic-awesome-skills · View interactive version

Fixing accessibility is an AI agent skill from the GitHub repository sickn33/agentic-awesome-skills. Audit and fix HTML accessibility issues including ARIA labels, keyboard navigation, focus management, color contrast, and form errors. Use when adding interactive controls, forms, dialogs, or reviewing WCAG compliance.

How to use this skill

Skill file

fixing-accessibility

When to Use

Use this skill when you need audit and fix HTML accessibility issues including ARIA labels, keyboard navigation, focus management, color contrast, and form errors. Use when adding interactive controls, forms, dialogs, or reviewing WCAG compliance.

Fix accessibility issues.

how to use

Apply these constraints to any UI work in this conversation.

Review the file against all rules below and report:

Do not rewrite large parts of the UI. Prefer minimal, targeted fixes.

when to apply

Reference these guidelines when:

rule categories by priority

| priority | category | impact |

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

| 1 | accessible names | critical |

| 2 | keyboard access | critical |

| 3 | focus and dialogs | critical |

| 4 | semantics | high |

| 5 | forms and errors | high |

| 6 | announcements | medium-high |

| 7 | contrast and states | medium |

| 8 | media and motion | low-medium |

| 9 | tool boundaries | critical |

quick reference

1. accessible names (critical)

2. keyboard access (critical)

3. focus and dialogs (critical)

4. semantics (high)

5. forms and errors (high)

6. announcements (medium-high)

7. contrast and states (medium)

8. media and motion (low-medium)

9. tool boundaries (critical)

common fixes

<!-- icon-only button: add aria-label -->
<!-- before --> <button><svg>...</svg></button>
<!-- after -->  <button aria-label="Close"><svg aria-hidden="true">...</svg></button>

<!-- div as button: use native element -->
<!-- before --> <div onclick="save()">Save</div>
<!-- after -->  <button onclick="save()">Save</button>

<!-- form error: link with aria-describedby -->
<!-- before --> <input id="email" /> <span>Invalid email</span>
<!-- after -->  <label for="email">Email</label><input id="email" type="email" aria-describedby="email-err" aria-invalid="true" /> <span id="email-err">Invalid email</span>

review guidance

Limitations

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.