Commit c57f436
# Backport
This will backport the following commits from `main` to `9.2`:
- [[SharedUX][A11y] Fix keyboard focus on Reload page button for toast
notifications (#237999)](#237999)
<!--- 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":"angeles.martinezbarrio@elastic.co"},"sourceCommit":{"committedDate":"2025-10-10T09:46:52Z","message":"[SharedUX][A11y]
Fix keyboard focus on Reload page button for toast notifications
(#237999)\n\nCloses
https://github.com/elastic/kibana/issues/237039\n\n## Summary\n\nAdded
`autofocus` attribute to be able to set focus on the button on
its\ninitial render. That way, after saving, users will get the
toast\nnotification and focus will be set on \"Reload page\" button
without\ndisrupting keyboard navigation.\n\nReplicated and tested this
for two other \"Reload page\" buttons on toast\nnotifications.\n\n###
Testing\n\n\nhttps://github.com/user-attachments/assets/1bd90992-1419-425b-9d38-8e635bc1e7c7","sha":"8cbaf7912b89795ce4d337bdad4a3d7322828847","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:SharedUX","backport:version","a11y","v9.2.0","v9.1.5","v9.3.0"],"title":"[SharedUX][A11y]
Fix keyboard focus on Reload page button for toast
notifications","number":237999,"url":"https://github.com/elastic/kibana/pull/237999","mergeCommit":{"message":"[SharedUX][A11y]
Fix keyboard focus on Reload page button for toast notifications
(#237999)\n\nCloses
https://github.com/elastic/kibana/issues/237039\n\n## Summary\n\nAdded
`autofocus` attribute to be able to set focus on the button on
its\ninitial render. That way, after saving, users will get the
toast\nnotification and focus will be set on \"Reload page\" button
without\ndisrupting keyboard navigation.\n\nReplicated and tested this
for two other \"Reload page\" buttons on toast\nnotifications.\n\n###
Testing\n\n\nhttps://github.com/user-attachments/assets/1bd90992-1419-425b-9d38-8e635bc1e7c7","sha":"8cbaf7912b89795ce4d337bdad4a3d7322828847"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","9.1"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/237999","number":237999,"mergeCommit":{"message":"[SharedUX][A11y]
Fix keyboard focus on Reload page button for toast notifications
(#237999)\n\nCloses
https://github.com/elastic/kibana/issues/237039\n\n## Summary\n\nAdded
`autofocus` attribute to be able to set focus on the button on
its\ninitial render. That way, after saving, users will get the
toast\nnotification and focus will be set on \"Reload page\" button
without\ndisrupting keyboard navigation.\n\nReplicated and tested this
for two other \"Reload page\" buttons on toast\nnotifications.\n\n###
Testing\n\n\nhttps://github.com/user-attachments/assets/1bd90992-1419-425b-9d38-8e635bc1e7c7","sha":"8cbaf7912b89795ce4d337bdad4a3d7322828847"}}]}]
BACKPORT-->
Co-authored-by: Ángeles Martínez Barrio <angeles.martinezbarrio@elastic.co>
1 parent 3b2655a commit c57f436
3 files changed
Lines changed: 3 additions & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
0 commit comments