/pf-a11y:pf-a11y-keyboardfrom pf-a11y
Tests keyboard navigation, focus management, and interaction patterns in a live PatternFly application using Playwright MCP browser automation.
Ships in pf-a11y. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Test keyboard navigation, focus management, and interaction patterns in a running PatternFly application using live browser automation.
This skill is not a complete replacement for manual keyboard testing. It covers common, well-defined keyboard accessibility criteria, but manual testing should still be conducted for complex, dynamic, or uncommon UI patterns that may not be fully exercised by automated interaction.
This skill requires Playwright MCP for live browser interaction. If Playwright MCP tools are not available, stop and inform the user:
Playwright MCP is required for keyboard accessibility testing. This skill tests keyboard interactions in a live browser and cannot operate without Playwright MCP. See the Playwright MCP documentation for installation instructions.
| Source | Required | Description |
|---|---|---|
| URL | Yes | URL to a running application (localhost or deployed) |
| Focus area | No | Specific component, page region, or interaction flow to prioritize |
The URL may point to a full consumer application or an isolated component demo (Storybook, PatternFly docs example, local dev server for a library repo like patternfly-react or chatbot). Determine the context from the page content:
If the user provides a focus area, test that area first but still check page-level criteria (skip navigation, sequential tab order) across the full page when applicable.
Load these reference files from $CLAUDE_SKILL_DIR:
references/keyboard-criteria.md — General keyboard accessibility criteria with expected behaviors, test procedures, and common violations. All criteria apply unless explicitly not applicable to the page (e.g., no modals present means the focus trapping criterion is N/A).references/component-specifics.md — Keyboard behavior expectations for specific PatternFly components (and similar custom implementations). Apply these when a matching component is identified on the page during baseline inspection.tabindex attributes.Work through each criterion in references/keyboard-criteria.md sequentially (the criteria are ordered by recommended testing sequence). For each criterion:
Skip any criterion that does not apply to the page (e.g., no modals present, isolated component demo without page-level navigation).
Present findings in the following format.
| Total criteria tested | Pass | Fail | N/A |
|---|---|---|---|
| count | count | count | count |
| Criterion | Element(s) | Status | Details |
|---|---|---|---|
| criterion name | element description and role | Pass / Fail / N/A | what was observed; expected vs. actual behavior |
For each failure, provide:
Severity definitions:
For each violation, suggest a fix. If a PatternFly component exists that would resolve the issue, recommend it by name. Reference ARIA authoring practices where applicable.
eval/cases/clean-keyboard-patterns/AccessibleDashboard.tsx (opens in a new tab)eval/cases/clean-keyboard-patterns/annotations.yaml (opens in a new tab)eval/cases/clean-keyboard-patterns/input.yaml (opens in a new tab)eval/cases/focus-management/DrawerModal.tsx (opens in a new tab)eval/cases/focus-management/annotations.yaml (opens in a new tab)eval/cases/focus-management/input.yaml (opens in a new tab)eval/cases/menu-and-scrollable/FilterPanel.tsx (opens in a new tab)eval/cases/menu-and-scrollable/annotations.yaml (opens in a new tab)eval/cases/menu-and-scrollable/input.yaml (opens in a new tab)eval/cases/navigation-and-activation/CustomToolbar.tsx (opens in a new tab)eval/cases/navigation-and-activation/annotations.yaml (opens in a new tab)eval/cases/navigation-and-activation/input.yaml (opens in a new tab)eval/eval.yaml (opens in a new tab)references/component-specifics.md (opens in a new tab)references/keyboard-criteria.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rh-uxd/ai-helpers --plugin pf-a11y3 skills in this plugin
/pf-a11y-auditAudit PatternFly components and pages against WCAG and ARIA best practices. Use when reviewing accessibility, fixing screen reader issues, or validating ARIA usage in PatternFly-based applications./pf-a11y-test-genGenerate accessibility test files for any frontend framework covering ARIA attributes, keyboard interaction, and focus management. Use when adding a11y test coverage or writing ARIA/keyboard/focus tests.Other plugins' skills for the same job