Commit f301162
fix(a11y): add keyboard support to no-signatures area and translatable action labels
- Add role='button', tabindex=0 and keydown handlers to .no-signatures
div so keyboard users can activate it to start editing
- Use translatable t('libresign', 'Delete {type}') and t('libresign',
'Edit {type}') in action button labels
- Pass :alt with 'Current {type}' to PreviewSignature for context
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent 2b22602 commit f301162
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
31 | 42 | | |
32 | 43 | | |
33 | 44 | | |
| |||
0 commit comments