Commit bf81807
authored
fix(a11y): make /assets/files accessible (#13987)
* fix(a11y): make /assets/files accessible (LE-1744)
Bring the Files page to WCAG 2.1 A/AA, verified with IBM Equal Access
plus keyboard/focus tests.
- Name the icon-only actions column header, hidden visually (4.1.2)
- Open the row actions menu by keyboard from the grid cell (2.1.1)
- Label the upload/bulk-delete buttons so they are named on mobile (4.1.2)
- Restore a keyboard-only :focus-visible ring on borderless grid cells (2.4.7)
- Merge the bulk-delete dialog trigger via asChild to remove the
duplicate tab stop (2.4.3)
- Move focus into the cell editor when renaming (2.4.3)
- Make the upload "try again" retry a real button (2.1.1)
Add a dedicated Playwright a11y suite (files.a11y.spec.ts) covering the
full state matrix and keyboard/focus behaviour, move the IBM baseline
folder under tests/a11y, and baseline the known Radix menu-portal
landmark item.
* feat(a11y): add frontend accessibility check skill documentation
* fix(a11y): return focus to upload button after file picker cancel (LE-1744)
Keyboard-activating Upload Files then dismissing the native picker with
Esc dropped focus to <body> (WCAG 2.4.3). Only blur on mouse clicks (to
keep the #13178 tooltip fix); restore focus to the trigger on keyboard
activation. Adds two behavioural a11y tests.1 parent 575a0d7 commit bf81807
15 files changed
Lines changed: 886 additions & 363 deletions
File tree
- .agents/skills/frontend-a11y-check
- src/frontend
- src
- locales
- pages/MainPage/pages/filesPage/components
- style
- tests/a11y
- baselines
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
| 686 | + | |
686 | 687 | | |
687 | 688 | | |
688 | 689 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
| 955 | + | |
955 | 956 | | |
956 | 957 | | |
957 | 958 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
| 686 | + | |
686 | 687 | | |
687 | 688 | | |
688 | 689 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
| 686 | + | |
686 | 687 | | |
687 | 688 | | |
688 | 689 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
| 686 | + | |
686 | 687 | | |
687 | 688 | | |
688 | 689 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
| 686 | + | |
686 | 687 | | |
687 | 688 | | |
688 | 689 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
| 686 | + | |
686 | 687 | | |
687 | 688 | | |
688 | 689 | | |
| |||
0 commit comments