⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

v0.1.0

accessibility-pass

ham7a311@ham7a311⭐ 13 stars· last commit 16d ago· 0 open issues

Run a hands-on accessibility pass on a web page or component - keyboard walk, focus visibility, names and roles, live announcements, reduced motion, contrast and zoom - verifying each check in a real browser rather than by reading code. Use before shipping UI, or when asked to check or fix accessibility.

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐⭐ 13 on GitHubGitHub ↗

Growing

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

Vitrine

Kept under glass.

A curated collection of React components with memorable interactions. Read the source, read the prompt behind it, and copy what you need.

License: MIT Components React TypeScript No animation libraries Copy/paste

Browse the collection · How to use it · How it's made · Workshop · Contributing

Reactive Prose, recorded from the live component: drag a number in the sentence and everything that depends on it recalculates.


What is Vitrine?

A vitrine is a glass display case: you look, you don't touch. Vitrine is the one display where you're allowed to take the object.

Each component is built around one clear idea, often borrowed from a physical object (letterpress, split-flap boards, wet ink, a transit map, a patch bay) and kept useful. Every component comes with:

  • a live preview with its variants,
  • the real source, exactly what runs in the preview,
  • the design prompt it was built from, detailed enough to rebuild or adapt it with an AI assistant,
  • notes on interaction, animation, accessibility, responsiveness and touch.

There is no package, no CLI and no registry install. You copy the files into your project and they're yours.

A closer look

What's inside

576 components in 34 categories. Recently added components carry a New label; the registry check keeps it to at most 100.

CategoryCategoryCategory
Buttons89Backgrounds66Cards53
AI & Chat39Controls22Authentication22
Feedback22Stats20Analytics20
Sections19Highlights17Cursors16
Forms16Data15Text Animations14
Micro-animations13CTAs12Navigation11
FAQ10Type & Names10Pricing10
Heroes8Media8Time7
Overlays6Navbars4Developer4
Footers4Maps & Globes4Calendars4
Sidebars3Decisions3Commerce3
Reading2
  • Glassbreak Button: a plate of dark glass that fractures from a single impact point, pure CSS and fully choreographed.
  • Silk Field: a shader background you can set type on.
  • Specimen Card: a card treated as a catalogued object.
  • Iris Shutter Button: an action that opens and closes like a lens.
  • Prompt Composer, Thinking Trace, Cited Answer, Inline Diff: the building blocks of a polished AI interface.
  • Split-Flap Text, Extrude Text: type that moves with intent.
  • Route Globe, Sankey Flow, Sunburst Drill, Cohort Retention: data that rewards a closer look.
  • Trace 404, Forwarding 404, Underside 404: missing pages that explain where the request stopped, where the page moved, or turn over to an index.
  • Insert Menu, Board View, Page Header: a calm document editor's pieces, from the / menu to drag-and-drop status boards.
  • Lesson Path, Word Bank, League Table: chunky, pressable learning UI where progress always says what it means.
  • Query Cell, Schema Drop, Column Profile: a hard-edged data toolkit that parses CSV and profiles columns in the browser.
  • Card Wallet, Transfer Composer, Approval Inbox: precise banking flows that await real callbacks and never fake success.
  • Reactive Prose, Stretchtext: text you can operate. Drag a number in a sentence and the figures that depend on it recalculate; choose how deep an article goes and the detail grows inside its sentences.
  • Pairwise Ranker, Magnet Board, Allocation Faders: decisions made visible. Rank by answering "this or that?", sort by dropping quality magnets on a board, split a budget on faders that always add up.
  • Sieve, Build Sheet, Gate Selector: rules you can see. Filters that show what they removed, a configurator that explains its conflicts and offers the fix, a status control shaped like the workflow it allows.
  • Undo Tree, Shadow Board: history that branches instead of forgetting, and toolbar customisation where every tool keeps its painted outline.
  • Line Map, Notification Dial, You Draw It: structure drawn as a transit map, a setting that shows its consequence before you commit, and a chart that asks for your guess before it shows the answer.
  • Splice: choosing as the main act. Assemble one text from the best sentences of se

// HOW IT'S BUILT

// FILES

2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.

  • src/workshop/skills/accessibility-pass/SKILL.md4.1 KBupstream ↗
    ---
    name: accessibility-pass
    description: Run a hands-on accessibility pass on a web page or component - keyboard walk, focus visibility, names and roles, live announcements, reduced motion, contrast and zoom - verifying each check in a real browser rather than by reading code. Use before shipping UI, or when asked to check or fix accessibility.
    ---
    
    # /accessibility-pass
    
    Every check below says **how to verify it**. Reading the code is not verification; use a real browser (Playwright, or the browser tools you have) and observe.
    
    ## 1. Keyboard walk
    
    - Load the page, click nothing, and press Tab repeatedly from the top. Record each focused element: `document.activeElement` tag, role and accessible name.
    - **Pass when:** every interactive element is reached, in reading order, and nothing that isn't interactive takes focus. No focus trap except inside an open dialog.
    - Operate every control with the keyboard only: Enter and Space on buttons, arrows in tabs, radios, sliders, menus and listboxes, Escape to close anything that opens.
    - **Composite widgets** (tabs, menus, listboxes, grids) should be one Tab stop with arrow keys inside (roving tabindex or `aria-activedescendant`).
    - **Pass when** closing a popover, dialog or menu returns focus to the control that opened it, and deleting or moving an item leaves focus somewhere sensible, not on `<body>`.
    
    ## 2. Focus is visible
    
    - For each focused element, take a screenshot or check computed styles. There must be a visible indicator with at least 3:1 contrast against its surroundings.
    - Use `:focus-visible`, so mouse clicks don't leave rings but keyboard focus always shows.
    - **Pass when** you can always tell where focus is from a screenshot alone.
    
    ## 3. Names, roles and states
    
    - Query the accessibility tree (Playwright's `page.accessibility.snapshot()` or `getByRole` lookups).
    - **Pass when:**
      - every control has a role and a name that says what it does ("Delete Q3 roadmap", not "button" or "×")
      - icon-only buttons have `aria-label`
      - toggles expose `aria-pressed` or `aria-checked`, and disclosures `aria-expanded`
      - the current page or step is marked with `aria-current`
      - inputs have real `<label>`s, and errors are tied to them with `aria-describedby`
    - Images: decorative ones have `alt=""`; meaningful ones say what matters in them.
    - Headings form an outline (one `h1`, no skipped levels for structure), and landmarks exist (`header`, `nav`, `main`, `footer`).
    
    ## 4. Changes are announced
    
    - Anything that changes without a page load (a save, a toast, a filter count, an upload finishing, an error) must reach a screen reader.
    - **Verify** by finding the live region (`role="status"` or `aria-live="polite"`, or `role="alert"` for errors) and checking that its text changes when the event happens.
    - The text should make sense on its own: "3 edits not saved", not "Error".
    
    ## 5. Motion
    
    - Emulate `prefers-reduced-motion: reduce` (Playwright: `reducedMotion: "reduce"` on the context) and reload.
    - **Pass when:**
      - large movement, parallax, autoplay and looping animation stop or become fades
      - nothing depends on motion to be understood (a state shown only by an animation needs a static equivalent)
      - timers that expire (toasts, undo windows) can be paused by hover or focus, or extended
    - If the component takes a `motion="reduced"` prop, check both paths.
    
    ## 6. Contrast, zoom and text
    
    - Check text contrast from computed colours: 4.5:1 for body text, 3:1 for large text (24px, or 18.66px bold) and for UI boundaries and icons that carry meaning.
    - **Colour is never the only signal:** errors say so in words, and statuses have a label or icon.
    - Zoom to 200% (or set the viewport to 640px wide at DPR 2). **Pass when** nothing is cut off or overlapping, and there's no horizontal scroll for text content.
    - Set a 24×24px minimum for touch targets, or give smaller targets enough spacing.
    
    ## 7. Report
    
    For each failure: what it is, where it is, how you verified it, and the fix. Group by severity:
    
    - **Blocks use:** can't reach or operate something.
    - **Hard to use:** confusing names, lost focus, missing announcements.
    - **Polish.**
    
    Fix what you can, then re-run the checks that failed and say so.
    
  • README.mdupstream ↗

    Contents are not inlined in the catalog. Open the upstream file.

Plain-text copy, no login: /skill-bundles/ham7a311-vitrine-src-workshop-skills-accessibility-pass.md

// REPO STATS

13 stars
0 open issues
Last commit: 16d ago