agentleFS
KIMJINWOO4KIMJINWOO4/vue-skills/skills/vue-a11y/SKILL.md

vue-a11y

Skill28 starsChanged 32 days agoMITView on GitHub

Accessibility for Vue 3 apps. Semantic templates, ARIA patterns for modal, tabs, menu and combobox, focus management with Teleport and route changes, live announcements, accessible form errors, and automated checks with axe. Use when building UI components, reviewing accessibility, WCAG compliance, keyboard navigation or screen reader support.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every input has a <label>.

    line 13

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Vue Accessibility

Target WCAG 2.2 AA. Order of preference: semantic HTML, then keyboard support, then focus management, then ARIA. A <button> beats a <div role="button" tabindex="0"> with three handlers.

Every component

  1. Anything interactive is focusable and works with the keyboard. <button>, <a href> and <input> give you this for free.
  2. Every input has a <label>. Every image has alt (alt="" when decorative).
  3. Focus is visible. Never remove outline without a :focus-visible replacement.
  4. Click targets are at least 24 by 24 CSS pixels. Color is never the only signal.
  5. Changes announce themselves: errors, async results and route changes use a live region or move focus.

Traps specific to Vue SPAs

TrapFix
Route changes are silent for screen readersAnnounce the new page and move focus; see focus-management
A Teleported modal lets focus escape behind itFocus trap plus inert or aria-modal; see focus-management
v-if swaps content without announcementLive region, or focus the new content. VueUse 15 adds useLiveAnnouncer for polite and assertive messages
Hand-made dropdown, tab or menu widgetsFollow the ARIA pattern in aria-components, or use Reka UI primitives (vue-ui skill)
Validation errors shown only as red textWire aria-describedby and aria-invalid; see the vue-forms skill and aria-components

References

TopicPath
Modal, tabs, menu, combobox, disclosure and toast patterns in Vuearia-components
Teleport modals, focus traps, route announcements, skip linksfocus-management
vitest-axe, Playwright audits, eslint-plugin-vuejs-accessibilitytesting-a11y

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.