Commit 9c473e1
committed
PasswordInput: Add accessibility properties to show/hide button
Now, after changing the show/hide button to be an icon instead of
text, we still present user-facing text to screen reader software.
Tested on iOS with VoiceOver, and implemented with help from this
article:
https://incl.ca/show-hide-password-accessibility-and-password-hints-tutorial/1 parent 3f3324f commit 9c473e1
File tree
2 files changed
+7
-0
lines changed- src/common
- static/translations
2 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
0 commit comments