-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [Obs Create dashboard][KEYBOARD]: Focus must be trapped when the…
… Add from library popover is open (#191440) Closes: elastic/observability-accessibility#116 Initial description sounds like: > The Obs Create Dashboard view has an "Add from library" popover that allows keyboard focus to escape behind the smoke layer, which can be confusing for screen reader users. During local testing, I didn't find any issues related to focus. However, we can slightly improve accessibility by providing the `aria-labelledby` attribute for the `EuiModal`, as recommended by EUI here: https://eui.elastic.co/#/layout/modal. ## Screens ### EUI modal with correct title: <img width="1393" alt="image" src="https://github.com/user-attachments/assets/1a2cbf7e-e865-432b-98d0-5a15bf313cd1"> ### Focus https://github.com/user-attachments/assets/3bd6e689-110b-4917-b831-75a965d28fa9
- Loading branch information
Showing
2 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters