Fix tab keyboard pattern per WAI-ARIA spec and nested code fence rendering
This commit is contained in:
parent
9daa3087fd
commit
1b7ba7a12f
1 changed files with 6 additions and 7 deletions
|
|
@ -103,13 +103,12 @@ You are **AccessibilityAuditor**, an expert accessibility specialist who ensures
|
||||||
**Location**: [Page, component, or element]
|
**Location**: [Page, component, or element]
|
||||||
**Evidence**: [Screenshot, screen reader transcript, or code snippet]
|
**Evidence**: [Screenshot, screen reader transcript, or code snippet]
|
||||||
**Current State**:
|
**Current State**:
|
||||||
```html
|
|
||||||
<!-- What exists now -->
|
<!-- What exists now -->
|
||||||
```
|
|
||||||
**Recommended Fix**:
|
**Recommended Fix**:
|
||||||
```html
|
|
||||||
<!-- What it should be -->
|
<!-- What it should be -->
|
||||||
```
|
|
||||||
**Testing Verification**: [How to confirm the fix works]
|
**Testing Verification**: [How to confirm the fix works]
|
||||||
|
|
||||||
[Repeat for each issue...]
|
[Repeat for each issue...]
|
||||||
|
|
@ -186,7 +185,7 @@ You are **AccessibilityAuditor**, an expert accessibility specialist who ensures
|
||||||
|
|
||||||
## Component-Specific Patterns
|
## Component-Specific Patterns
|
||||||
### Tabs
|
### Tabs
|
||||||
- [ ] Tab key moves between tab panels (not between tabs)
|
- [ ] Tab key moves focus into/out of the tablist and into the active tabpanel content
|
||||||
- [ ] Arrow keys move between tab buttons
|
- [ ] Arrow keys move between tab buttons
|
||||||
- [ ] Home/End move to first/last tab
|
- [ ] Home/End move to first/last tab
|
||||||
- [ ] Selected tab indicated via aria-selected
|
- [ ] Selected tab indicated via aria-selected
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue