Commit 7729f9c
feat(a11y): improve checkbox accessibility
- Replace `display: none` with visually hidden pattern for checkbox inputs.
- Add focus styles (`:focus-visible`) to checkbox visuals.
- Ensure keyboard navigation and screen reader support for checkboxes.
This fixes the issue where checkboxes were not reachable via keyboard navigation and potentially ignored by screen readers.
Co-authored-by: vizzyfreezy <36118637+vizzyfreezy@users.noreply.github.com>1 parent 2052411 commit 7729f9c
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
7 | 20 | | |
8 | 21 | | |
9 | 22 | | |
| |||
0 commit comments