Commit 606de71
authored
[8.19] [ObsUX] [A11y] Improve color alternative for element announcement (elastic#219250) (elastic#219353)
# Backport
This will backport the following commits from `main` to `8.19`:
- [[ObsUX] [A11y] Improve color alternative for element announcement
(elastic#219250)](elastic#219250)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT
[{"author":{"name":"Miriam","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-04-27T08:55:14Z","message":"[ObsUX]
[A11y] Improve color alternative for element announcement
(elastic#219250)\n\nCloses
https://github.com/elastic/kibana/issues/212739\n\n### Summary\n\nFocus
on the value for this cell, the value of the metric determines
the\ncolor. And since we don’t want to name all possible options,
instead of\nannouncing the color, set only aria-label attribute to
determine cell\nstate.\nAlso update role for elements on the
accessibility tree.\n\n<img width=\"861\" alt=\"Screenshot 2025-04-25 at
14 41
06\"\nsrc=\"https://github.com/user-attachments/assets/35ca8b9c-8bd8-424d-bd2e-a11612a0e470\"\n/>\n\n<img
width=\"861\" alt=\"Screenshot 2025-04-25 at 14 40
07\"\nsrc=\"https://github.com/user-attachments/assets/3d676f0c-36af-441f-bba3-5fd63014ae4b\"\n/>\n\n<img
width=\"1130\" alt=\"Screenshot 2025-04-25 at 12 27
24\"\nsrc=\"https://github.com/user-attachments/assets/83b2a816-c5e2-4a47-998c-7c3e97660a32\"\n/>","sha":"3fd7ddb5aae6a426f6928e79c03ff02bff75a578","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:obs-ux-infra_services","backport:version","v8.18.0","v9.1.0","v8.19.0","v8.18.1","v9.0.1"],"title":"[ObsUX]
[A11y] Improve color alternative for element
announcement","number":219250,"url":"https://github.com/elastic/kibana/pull/219250","mergeCommit":{"message":"[ObsUX]
[A11y] Improve color alternative for element announcement
(elastic#219250)\n\nCloses
https://github.com/elastic/kibana/issues/212739\n\n### Summary\n\nFocus
on the value for this cell, the value of the metric determines
the\ncolor. And since we don’t want to name all possible options,
instead of\nannouncing the color, set only aria-label attribute to
determine cell\nstate.\nAlso update role for elements on the
accessibility tree.\n\n<img width=\"861\" alt=\"Screenshot 2025-04-25 at
14 41
06\"\nsrc=\"https://github.com/user-attachments/assets/35ca8b9c-8bd8-424d-bd2e-a11612a0e470\"\n/>\n\n<img
width=\"861\" alt=\"Screenshot 2025-04-25 at 14 40
07\"\nsrc=\"https://github.com/user-attachments/assets/3d676f0c-36af-441f-bba3-5fd63014ae4b\"\n/>\n\n<img
width=\"1130\" alt=\"Screenshot 2025-04-25 at 12 27
24\"\nsrc=\"https://github.com/user-attachments/assets/83b2a816-c5e2-4a47-998c-7c3e97660a32\"\n/>","sha":"3fd7ddb5aae6a426f6928e79c03ff02bff75a578"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/219335","number":219335,"state":"MERGED","mergeCommit":{"sha":"a01d531b4ea1a50b3ce4b2f050f520525a1183ec","message":"[9.0]
[ObsUX] [A11y] Improve color alternative for element announcement
(elastic#219250) (elastic#219335)\n\n# Backport\n\nThis will backport the following
commits from `main` to `9.0`:\n- [[ObsUX] [A11y] Improve color
alternative for element
announcement\n(elastic#219250)](https://github.com/elastic/kibana/pull/219250)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Miriam
<[email protected]>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/219333","number":219333,"state":"MERGED","mergeCommit":{"sha":"6c54cf7aafd12d36ab3a139050b1f30835a496d9","message":"[8.18]
[ObsUX] [A11y] Improve color alternative for element announcement
(elastic#219250) (elastic#219333)\n\n# Backport\n\nThis will backport the following
commits from `main` to `8.18`:\n- [[ObsUX] [A11y] Improve color
alternative for element
announcement\n(elastic#219250)](https://github.com/elastic/kibana/pull/219250)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Miriam
<[email protected]>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/219250","number":219250,"mergeCommit":{"message":"[ObsUX]
[A11y] Improve color alternative for element announcement
(elastic#219250)\n\nCloses
https://github.com/elastic/kibana/issues/212739\n\n### Summary\n\nFocus
on the value for this cell, the value of the metric determines
the\ncolor. And since we don’t want to name all possible options,
instead of\nannouncing the color, set only aria-label attribute to
determine cell\nstate.\nAlso update role for elements on the
accessibility tree.\n\n<img width=\"861\" alt=\"Screenshot 2025-04-25 at
14 41
06\"\nsrc=\"https://github.com/user-attachments/assets/35ca8b9c-8bd8-424d-bd2e-a11612a0e470\"\n/>\n\n<img
width=\"861\" alt=\"Screenshot 2025-04-25 at 14 40
07\"\nsrc=\"https://github.com/user-attachments/assets/3d676f0c-36af-441f-bba3-5fd63014ae4b\"\n/>\n\n<img
width=\"1130\" alt=\"Screenshot 2025-04-25 at 12 27
24\"\nsrc=\"https://github.com/user-attachments/assets/83b2a816-c5e2-4a47-998c-7c3e97660a32\"\n/>","sha":"3fd7ddb5aae6a426f6928e79c03ff02bff75a578"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->1 parent 690e852 commit 606de71
File tree
8 files changed
+22
-13
lines changed- x-pack
- platform/plugins/private/translations/translations
- solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle
8 files changed
+22
-13
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25696 | 25696 | | |
25697 | 25697 | | |
25698 | 25698 | | |
25699 | | - | |
25700 | 25699 | | |
25701 | 25700 | | |
25702 | 25701 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25672 | 25672 | | |
25673 | 25673 | | |
25674 | 25674 | | |
25675 | | - | |
25676 | 25675 | | |
25677 | 25676 | | |
25678 | 25677 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25726 | 25726 | | |
25727 | 25727 | | |
25728 | 25728 | | |
25729 | | - | |
25730 | 25729 | | |
25731 | 25730 | | |
25732 | 25731 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
214 | 217 | | |
215 | 218 | | |
216 | 219 | | |
| |||
282 | 285 | | |
283 | 286 | | |
284 | 287 | | |
285 | | - | |
| 288 | + | |
| 289 | + | |
286 | 290 | | |
287 | 291 | | |
288 | 292 | | |
| |||
311 | 315 | | |
312 | 316 | | |
313 | 317 | | |
314 | | - | |
| 318 | + | |
| 319 | + | |
315 | 320 | | |
316 | 321 | | |
317 | 322 | | |
| |||
339 | 344 | | |
340 | 345 | | |
341 | 346 | | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
342 | 350 | | |
343 | 351 | | |
344 | 352 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
| 174 | + | |
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
176 | 178 | | |
177 | | - | |
178 | | - | |
| 179 | + | |
| 180 | + | |
179 | 181 | | |
180 | 182 | | |
181 | 183 | | |
| |||
0 commit comments