Commit d160edd
fix(draw): replace aria-pressed with role=tab and aria-selected on signature type tabs
NcButton elements inside role="tablist" were using aria-pressed which
causes screen readers to announce them as toggle buttons instead of tabs.
Screen readers rely on role="tab" + aria-selected to announce tab position
(e.g. "Draw, tab 1 of 3") and to enable arrow-key navigation between tabs.
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent ecd5fa0 commit d160edd
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments