-
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: [Security > Get Started][SCREEN READER]: Accordion arrow buttons…
… to expand/collapse sections need unique accessible labels (#180907) Closes: elastic/security-team#8929 ## Description The Getting Started page has several accordions with arrow buttons to expand and collapse the sections. These buttons have generic "Expand" accessible labels that do not provide enough information to screen readers and voice activation technologies. We should update the accessible labels to include the section name. ### Steps to recreate 1. Open the [QA environment](https://console.qa.cld.elstc.co/) and create a new Security serverless project if none exist 2. Once your Security project is created, open it and turn on a screen reader of your choice 3. Load the Getting Started page (should be by default, but just in case) 4. Tab through the accordion sections and verify each one says "Expand" when the arrow button takes focus ### What was done?: 1. The `aria-expanded` attribute was added to the toggle-button. 2. The `aria-label` was updated to display the title part. 3. The `COLLAPSE_STEP_BUTTON_LABEL` translation was removed. ### Screen <img width="1565" alt="image" src="https://github.com/elastic/kibana/assets/20072247/497077b8-c272-4985-8a85-653e1f29d776">
- Loading branch information
Showing
5 changed files
with
8 additions
and
25 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
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
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