forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [Stateful: Indices: Overview page] Wrong focus order after gener…
…ating API key on the dialog (elastic#197212) Closes elastic#196490 ## Description The focus order should be clear and sequential. Changes in the dialog should be announced so that users, especially those using assistive technologies, can navigate easily and understand what is happening. ## What was changed: 1. `generate_api_key_modal/modal.tsx` was slightly updated to be more accessibility (a11y) friendly: - To differentiate the two UI states, we now use two colors for the panel: `primary` for the initial state and `success` when the API key is generated. - An `EuiCallOut` with `role="alert"` was added to announce status updates for screen reader users. - After creating an API key, the focus now moves to the `Download API key` button. ## Screen https://github.com/user-attachments/assets/24d13648-390a-4fe6-9202-d808c38c3c5c
- Loading branch information
Showing
1 changed file
with
44 additions
and
7 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