Commit 638b2d9
committed
Only include aria range values once per utilization bar chart
We used to set aria range attributes for both the "used" and the
"remaining" parts. While we need both to nicely show a 100% bar chart,
it makes no semantic sense to present both to accessibility tools.
This patch drops the aria attributes on the remaining "progress-bar".1 parent 82be64f commit 638b2d9
File tree
2 files changed
+2
-4
lines changed- src/charts/utilization-bar
- test/charts/utilization-bar
2 files changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
0 commit comments