Commit 2b22602
fix(a11y): add linkAriaLabel, aria-hidden avatar and chip labels to Signer
- Add signerLinkAriaLabel computed to NcListItem so screen readers
announce 'Edit signer {name}' or 'Signer {name} (already signed)'
- Add aria-hidden to NcAvatar to prevent initials leaking into the
accessible name (already conveyed by linkAriaLabel)
- Add aria-label to identification method and status NcChips
- Add sr-only span for disabled tooltip text
- Add aria-disabled to the list item when signer or method is disabled
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent 3ea22a3 commit 2b22602
1 file changed
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
187 | 192 | | |
188 | 193 | | |
189 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
190 | 203 | | |
191 | 204 | | |
192 | 205 | | |
| |||
263 | 276 | | |
264 | 277 | | |
265 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
266 | 290 | | |
267 | 291 | | |
268 | 292 | | |
| |||
0 commit comments