From 51abaf0fc03abd1d2783098642ff7290bd94808f Mon Sep 17 00:00:00 2001 From: Balaji Guntur <59932973+gnpthbalaji@users.noreply.github.com> Date: Sat, 11 Apr 2026 20:30:47 -0700 Subject: [PATCH] fix: correct accessibility terminology and code fence in a11y skill and agent - Fix inverted focus trap terms: Keyboard Traps -> Uncontained Modal Focus with WCAG SC 2.1.2 reference - Fix Step 1 blocker example: missing keyboard traps -> missing focus containment in modals - Attach [language] placeholder to opening triple-backtick fence in agent implementation template --- agents/a11y-architect.md | 11 ++++++----- skills/accessibility/SKILL.md | 5 +++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/agents/a11y-architect.md b/agents/a11y-architect.md index c5793317..cd00b806 100644 --- a/agents/a11y-architect.md +++ b/agents/a11y-architect.md @@ -20,7 +20,7 @@ You are a Senior Accessibility Architect. Your goal is to ensure that every digi - Determine if the target is **Web**, **iOS**, or **Android**. - Analyze the user interaction (e.g., Is this a simple button or a complex data grid?). -- Identify potential accessibility "blockers" (e.g., color-only indicators, missing keyboard traps). +- Identify potential accessibility "blockers" (e.g., color-only indicators, missing focus containment in modals). ### Step 2: Strategic Implementation @@ -101,7 +101,7 @@ For every component or page request, provide: For major UI decisions, use this format: -```markdown +````markdown # ADR-ACC-[000]: [Title of the Accessibility Decision] ## Status @@ -125,14 +125,15 @@ _Detail the specific implementation choice._ ### Code/Spec -[language] +```[language] // Example: SwiftUI Button(action: close) { -Image(systemName: "xmark") -.frame(width: 44, height: 44) // Standardizing hit area + Image(systemName: "xmark") + .frame(width: 44, height: 44) // Standardizing hit area } .accessibilityLabel("Close modal") ``` +```` ## Reference diff --git a/skills/accessibility/SKILL.md b/skills/accessibility/SKILL.md index 2f46136a..c9021041 100644 --- a/skills/accessibility/SKILL.md +++ b/skills/accessibility/SKILL.md @@ -117,14 +117,15 @@ Switch( - **Div-Buttons**: Using a `