Commit b58c6bf
[9.2] [SharedUX][A11y] Fix calendar event description field error text (elastic#240442) (elastic#240863)
# Backport
This will backport the following commits from `main` to `9.2`:
- [[SharedUX][A11y] Fix calendar event description field error text
(elastic#240442)](elastic#240442)
<!--- 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:31Z","message":"[SharedUX][A11y]
Fix calendar event description field error text (elastic#240442)\n\nCloses
https://github.com/elastic/kibana/issues/216992\n\n## Summary\n\n- Added
explicit error message for users to better understand why the\nfield is
in an error state: error only appears after the user interacts\nwith the
field (either on change or on blur for keyboard navigation)\n- Added the
`descriptionVisited` state initialized to false to avoid\nshowing the
error on first modal render\n- Added basic field validation to avoid
empty descriptions (spaces)\nbeing saved\n\n### Testing\n\n**Error
behavior:**\nBefore:\n\n\nhttps://github.com/user-attachments/assets/6661c1fd-20ea-46ec-8483-590ba7f02549\n\nAfter:\n\n\nhttps://github.com/user-attachments/assets/33596ede-0370-4190-9d3b-1465709ea1a7\n\n**VoiceOver
error announcement:**\nBefore:\n\n<img width=\"1075\" height=\"322\"
alt=\"Screenshot 2025-10-24 at 12 57
12\"\nsrc=\"https://github.com/user-attachments/assets/683b214c-5d05-4c35-a169-609c44288fbf\"\n/>\n\nAfter:\n\n<img
width=\"1020\" height=\"327\" alt=\"Screenshot 2025-10-24 at 12 56
10\"\nsrc=\"https://github.com/user-attachments/assets/bec8d439-8bcf-4620-8bd1-f73d3ed282a1\"\n/>\n\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"7e0dded80a6c4e4c4fe63ff4216682a7651946a8","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]
Fix calendar event description field error
text","number":240442,"url":"https://github.com/elastic/kibana/pull/240442","mergeCommit":{"message":"[SharedUX][A11y]
Fix calendar event description field error text (elastic#240442)\n\nCloses
https://github.com/elastic/kibana/issues/216992\n\n## Summary\n\n- Added
explicit error message for users to better understand why the\nfield is
in an error state: error only appears after the user interacts\nwith the
field (either on change or on blur for keyboard navigation)\n- Added the
`descriptionVisited` state initialized to false to avoid\nshowing the
error on first modal render\n- Added basic field validation to avoid
empty descriptions (spaces)\nbeing saved\n\n### Testing\n\n**Error
behavior:**\nBefore:\n\n\nhttps://github.com/user-attachments/assets/6661c1fd-20ea-46ec-8483-590ba7f02549\n\nAfter:\n\n\nhttps://github.com/user-attachments/assets/33596ede-0370-4190-9d3b-1465709ea1a7\n\n**VoiceOver
error announcement:**\nBefore:\n\n<img width=\"1075\" height=\"322\"
alt=\"Screenshot 2025-10-24 at 12 57
12\"\nsrc=\"https://github.com/user-attachments/assets/683b214c-5d05-4c35-a169-609c44288fbf\"\n/>\n\nAfter:\n\n<img
width=\"1020\" height=\"327\" alt=\"Screenshot 2025-10-24 at 12 56
10\"\nsrc=\"https://github.com/user-attachments/assets/bec8d439-8bcf-4620-8bd1-f73d3ed282a1\"\n/>\n\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"7e0dded80a6c4e4c4fe63ff4216682a7651946a8"}},"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/240442","number":240442,"mergeCommit":{"message":"[SharedUX][A11y]
Fix calendar event description field error text (elastic#240442)\n\nCloses
https://github.com/elastic/kibana/issues/216992\n\n## Summary\n\n- Added
explicit error message for users to better understand why the\nfield is
in an error state: error only appears after the user interacts\nwith the
field (either on change or on blur for keyboard navigation)\n- Added the
`descriptionVisited` state initialized to false to avoid\nshowing the
error on first modal render\n- Added basic field validation to avoid
empty descriptions (spaces)\nbeing saved\n\n### Testing\n\n**Error
behavior:**\nBefore:\n\n\nhttps://github.com/user-attachments/assets/6661c1fd-20ea-46ec-8483-590ba7f02549\n\nAfter:\n\n\nhttps://github.com/user-attachments/assets/33596ede-0370-4190-9d3b-1465709ea1a7\n\n**VoiceOver
error announcement:**\nBefore:\n\n<img width=\"1075\" height=\"322\"
alt=\"Screenshot 2025-10-24 at 12 57
12\"\nsrc=\"https://github.com/user-attachments/assets/683b214c-5d05-4c35-a169-609c44288fbf\"\n/>\n\nAfter:\n\n<img
width=\"1020\" height=\"327\" alt=\"Screenshot 2025-10-24 at 12 56
10\"\nsrc=\"https://github.com/user-attachments/assets/bec8d439-8bcf-4620-8bd1-f73d3ed282a1\"\n/>\n\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"7e0dded80a6c4e4c4fe63ff4216682a7651946a8"}},{"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]>
Co-authored-by: Elastic Machine <[email protected]>1 parent 5e24523 commit b58c6bf
File tree
1 file changed
+18
-3
lines changed1 file changed
+18
-3
lines changedLines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
| |||
260 | 268 | | |
261 | 269 | | |
262 | 270 | | |
263 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
264 | 274 | | |
265 | 275 | | |
266 | 276 | | |
| |||
291 | 301 | | |
292 | 302 | | |
293 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
294 | 308 | | |
295 | 309 | | |
296 | 310 | | |
| 311 | + | |
297 | 312 | | |
298 | | - | |
| 313 | + | |
299 | 314 | | |
300 | 315 | | |
301 | 316 | | |
| |||
317 | 332 | | |
318 | 333 | | |
319 | 334 | | |
320 | | - | |
| 335 | + | |
321 | 336 | | |
322 | 337 | | |
323 | 338 | | |
| |||
0 commit comments