Commit 685640f
[9.2] [SharedUX][A11y] Fixes ML anomaly detection job wizard bucket span error text announcement (elastic#240776) (elastic#240864)
# Backport
This will backport the following commits from `main` to `9.2`:
- [[SharedUX][A11y] Fixes ML anomaly detection job wizard bucket span
error text announcement
(elastic#240776)](elastic#240776)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Ángeles Martínez
Barrio","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-10-27T16:25:50Z","message":"[SharedUX][A11y]
Fixes ML anomaly detection job wizard bucket span error text
announcement (elastic#240776)\n\nCloses
https://github.com/elastic/kibana/issues/216297\n\n## Summary\n- To fix
bucket span validation error being rendered but not announced,\nan
`errorId` is now generated in `bucket_span` and passed to
both\n`Description` and `BucketSpanInput`. `EuiFormRow` was not
properly\nwiring the correct aria attributes due to the fragment
+\nEuiFlexGroup/EuiFlexItem nesting so the error text is now
explicitly\nrendered using `EuiFormErrorText`. No visual changes.\n\n###
Testing\n\n**Windows + NVDA**\nBefore:\n<img width=\"1730\"
height=\"1039\" alt=\"Screenshot 2025-10-27 at 11 42
16\"\nsrc=\"https://github.com/user-attachments/assets/792cd62f-786f-446e-9a3e-c852383818ad\"\n/>\n\nAfter:\n<img
width=\"1724\" height=\"1045\" alt=\"Screenshot 2025-10-27 at 11 41
15\"\nsrc=\"https://github.com/user-attachments/assets/c0d955aa-af5e-4946-a32e-d297eb7998ac\"\n/>\n\n**MacOS
+ VO**\nBefore:\n<img width=\"1225\" height=\"820\" alt=\"Screenshot
2025-10-27 at 11 58
38\"\nsrc=\"https://github.com/user-attachments/assets/54424673-8df7-448f-8b77-2b6cfd17fe0e\"\n/>\n\nAfter:\n<img
width=\"1211\" height=\"784\" alt=\"Screenshot 2025-10-27 at 11 58
05\"\nsrc=\"https://github.com/user-attachments/assets/d3d4d3aa-3903-463b-a080-f05b9255c4cb\"\n/>","sha":"9167e9e17ce677236bcf45d185d5b93b56527567","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","Team:SharedUX","backport:version","a11y","v9.3.0","v9.2.1"],"title":"[SharedUX][A11y]
Fixes ML anomaly detection job wizard bucket span error text
announcement","number":240776,"url":"https://github.com/elastic/kibana/pull/240776","mergeCommit":{"message":"[SharedUX][A11y]
Fixes ML anomaly detection job wizard bucket span error text
announcement (elastic#240776)\n\nCloses
https://github.com/elastic/kibana/issues/216297\n\n## Summary\n- To fix
bucket span validation error being rendered but not announced,\nan
`errorId` is now generated in `bucket_span` and passed to
both\n`Description` and `BucketSpanInput`. `EuiFormRow` was not
properly\nwiring the correct aria attributes due to the fragment
+\nEuiFlexGroup/EuiFlexItem nesting so the error text is now
explicitly\nrendered using `EuiFormErrorText`. No visual changes.\n\n###
Testing\n\n**Windows + NVDA**\nBefore:\n<img width=\"1730\"
height=\"1039\" alt=\"Screenshot 2025-10-27 at 11 42
16\"\nsrc=\"https://github.com/user-attachments/assets/792cd62f-786f-446e-9a3e-c852383818ad\"\n/>\n\nAfter:\n<img
width=\"1724\" height=\"1045\" alt=\"Screenshot 2025-10-27 at 11 41
15\"\nsrc=\"https://github.com/user-attachments/assets/c0d955aa-af5e-4946-a32e-d297eb7998ac\"\n/>\n\n**MacOS
+ VO**\nBefore:\n<img width=\"1225\" height=\"820\" alt=\"Screenshot
2025-10-27 at 11 58
38\"\nsrc=\"https://github.com/user-attachments/assets/54424673-8df7-448f-8b77-2b6cfd17fe0e\"\n/>\n\nAfter:\n<img
width=\"1211\" height=\"784\" alt=\"Screenshot 2025-10-27 at 11 58
05\"\nsrc=\"https://github.com/user-attachments/assets/d3d4d3aa-3903-463b-a080-f05b9255c4cb\"\n/>","sha":"9167e9e17ce677236bcf45d185d5b93b56527567"}},"sourceBranch":"main","suggestedTargetBranches":["9.2"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/240776","number":240776,"mergeCommit":{"message":"[SharedUX][A11y]
Fixes ML anomaly detection job wizard bucket span error text
announcement (elastic#240776)\n\nCloses
https://github.com/elastic/kibana/issues/216297\n\n## Summary\n- To fix
bucket span validation error being rendered but not announced,\nan
`errorId` is now generated in `bucket_span` and passed to
both\n`Description` and `BucketSpanInput`. `EuiFormRow` was not
properly\nwiring the correct aria attributes due to the fragment
+\nEuiFlexGroup/EuiFlexItem nesting so the error text is now
explicitly\nrendered using `EuiFormErrorText`. No visual changes.\n\n###
Testing\n\n**Windows + NVDA**\nBefore:\n<img width=\"1730\"
height=\"1039\" alt=\"Screenshot 2025-10-27 at 11 42
16\"\nsrc=\"https://github.com/user-attachments/assets/792cd62f-786f-446e-9a3e-c852383818ad\"\n/>\n\nAfter:\n<img
width=\"1724\" height=\"1045\" alt=\"Screenshot 2025-10-27 at 11 41
15\"\nsrc=\"https://github.com/user-attachments/assets/c0d955aa-af5e-4946-a32e-d297eb7998ac\"\n/>\n\n**MacOS
+ VO**\nBefore:\n<img width=\"1225\" height=\"820\" alt=\"Screenshot
2025-10-27 at 11 58
38\"\nsrc=\"https://github.com/user-attachments/assets/54424673-8df7-448f-8b77-2b6cfd17fe0e\"\n/>\n\nAfter:\n<img
width=\"1211\" height=\"784\" alt=\"Screenshot 2025-10-27 at 11 58
05\"\nsrc=\"https://github.com/user-attachments/assets/d3d4d3aa-3903-463b-a080-f05b9255c4cb\"\n/>","sha":"9167e9e17ce677236bcf45d185d5b93b56527567"}},{"branch":"9.2","label":"v9.2.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Ángeles Martínez Barrio <[email protected]>1 parent b58c6bf commit 685640f
File tree
3 files changed
+15
-4
lines changed3 files changed
+15
-4
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
54 | | - | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| 67 | + | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
0 commit comments