Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] fix: [Search:AppSearch:Settings page]Issues with switches (#201798
) (#201994) # Backport This will backport the following commits from `main` to `8.x`: - [fix: [Search:AppSearch:Settings page]Issues with switches (#201798)](#201798) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alexey Antonov","email":"alexwizp@gmail.com"},"sourceCommit":{"committedDate":"2024-11-27T11:08:11Z","message":"fix: [Search:AppSearch:Settings page]Issues with switches (#201798)\n\nCloses: #200710\r\n\r\n## Description\r\nWhen switch is turned on/off user should be correctly informed about it.\r\nEspecially, for the user using assistive technology that he/she would\r\nunderstand what happened with the button.\r\n\r\n## What was changed: \r\n\r\n1. explicitly set `aria-labbeledby` attribute for `EuiSwitch`\r\n\r\n## Screen\r\n\r\n<img width=\"1330\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/381fb3a9-41cf-4674-92ae-6d29fba61b63\">","sha":"acb596cbf10cd893bca8189461d5cd114b13502e","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","v9.0.0","Team:Search","backport:prev-minor"],"title":"fix: [Search:AppSearch:Settings page]Issues with switches","number":201798,"url":"https://github.com/elastic/kibana/pull/201798","mergeCommit":{"message":"fix: [Search:AppSearch:Settings page]Issues with switches (#201798)\n\nCloses: #200710\r\n\r\n## Description\r\nWhen switch is turned on/off user should be correctly informed about it.\r\nEspecially, for the user using assistive technology that he/she would\r\nunderstand what happened with the button.\r\n\r\n## What was changed: \r\n\r\n1. explicitly set `aria-labbeledby` attribute for `EuiSwitch`\r\n\r\n## Screen\r\n\r\n<img width=\"1330\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/381fb3a9-41cf-4674-92ae-6d29fba61b63\">","sha":"acb596cbf10cd893bca8189461d5cd114b13502e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201798","number":201798,"mergeCommit":{"message":"fix: [Search:AppSearch:Settings page]Issues with switches (#201798)\n\nCloses: #200710\r\n\r\n## Description\r\nWhen switch is turned on/off user should be correctly informed about it.\r\nEspecially, for the user using assistive technology that he/she would\r\nunderstand what happened with the button.\r\n\r\n## What was changed: \r\n\r\n1. explicitly set `aria-labbeledby` attribute for `EuiSwitch`\r\n\r\n## Screen\r\n\r\n<img width=\"1330\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/381fb3a9-41cf-4674-92ae-6d29fba61b63\">","sha":"acb596cbf10cd893bca8189461d5cd114b13502e"}}]}] BACKPORT--> Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
- Loading branch information