Commit 2337359
committed
[#71413] Upstream A11y improvements to DragHandle
Initial accessibility improvements, based on Backlogs implementation.
`DragHandle` now renders the following additional attributes.
- `role="button"` and `tabindex="0"` for button semantics, focusability.
- `aria-label` (via a `label:` param) with a sensible default value.
https://community.openproject.org/wp/576881 parent 2dce22b commit 2337359
File tree
5 files changed
+80
-7
lines changed- app/components/primer/open_project
- config/locales
- static
- test/components/primer/open_project
5 files changed
+80
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | | - | |
16 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
17 | 25 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
23 | 37 | | |
24 | 38 | | |
25 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6030 | 6030 | | |
6031 | 6031 | | |
6032 | 6032 | | |
| 6033 | + | |
| 6034 | + | |
| 6035 | + | |
| 6036 | + | |
| 6037 | + | |
| 6038 | + | |
| 6039 | + | |
| 6040 | + | |
| 6041 | + | |
| 6042 | + | |
| 6043 | + | |
| 6044 | + | |
6033 | 6045 | | |
6034 | 6046 | | |
6035 | 6047 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19891 | 19891 | | |
19892 | 19892 | | |
19893 | 19893 | | |
| 19894 | + | |
| 19895 | + | |
| 19896 | + | |
| 19897 | + | |
| 19898 | + | |
| 19899 | + | |
| 19900 | + | |
| 19901 | + | |
| 19902 | + | |
| 19903 | + | |
| 19904 | + | |
| 19905 | + | |
19894 | 19906 | | |
19895 | 19907 | | |
19896 | 19908 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
19 | 51 | | |
0 commit comments