Mav bp accessibility

From thermiteau/maverick · View interactive version

Mav bp accessibility is an AI agent skill from the GitHub repository thermiteau/maverick. Accessibility conventions for projects with user-facing interfaces. Covers WCAG 2.1 AA compliance, semantic HTML, keyboard navigation, colour contrast, screen reader support, and automated a11y testing. Applied when building or reviewing user-facing web or mobile applications.

How to use this skill

Skill file

Accessibility Standards

Ensure user-facing interfaces are usable by everyone, including people who rely on assistive technology.

Maverick's Rules

Project Implementation Lookup

Check for docs/maverick/skills/accessibility/SKILL.md. If present, read it and follow it — it wins on specifics (library, config, conventions). If missing, proceed with these standards and note the gap in your summary.

Detecting Accessibility Issues in Code Review

When reviewing code for user-facing interfaces, flag these patterns:

| Pattern | Issue | Fix |

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

| <div onclick="..."> | Non-semantic interactive element | Use <button> or <a> |

| outline: none without replacement | Invisible focus indicator | Add focus-visible style |

| <img> without alt attribute | Missing text alternative | Add descriptive alt or alt="" for decorative |

| <input> without associated <label> | Unlabelled form field | Add <label for="..."> |

| Colour alone indicates state | Inaccessible to colour-blind users | Add icon, text, or pattern |

| tabindex value > 0 | Breaks natural tab order | Use tabindex="0" or -1 only |

| aria-hidden="true" on focusable element | Hidden but still keyboard-reachable | Remove from tab order or remove aria-hidden |

| Auto-playing video or audio | Disruptive, not user-initiated | Require explicit play action |

| Placeholder used as label | Label disappears on input, poor contrast | Add a visible <label> |

| Missing lang attribute on <html> | Screen reader uses wrong language | Add <html lang="en"> (or appropriate language) |

| Custom widget without keyboard handling | Inoperable for keyboard users | Implement full keyboard interaction pattern |

| Error shown only by colour change | Screen readers cannot detect colour | Add text message and aria-describedby |

<!-- maverick-plugin-version: 5.3.1 -->

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.