Open graphicidentity opened 1 year ago
Also remove long text instructions from aria-label and put in course instructions.
Page: Lesson 1: Overview of electronic Passport Next Generation
Description: The accessible name of the button (progress bar in the header) is too overloaded with info for AT users: • "Page progress. Use this to listen to the list of regions in this topic and whether they're completed. You can jump directly to any that are incomplete or which sound particularly interesting. 21% "
The button name contains the page progress information and instruction. The instruction is not available for non-screen reader users.
The best practice is to use short names for buttons as possible (without sacrificing meaning). The name needs to be long enough to convey the purpose of the element and no longer. For example:
• aria-label="Page sections" (or something similar)
• the addtional information can be implemented as a title or description (using an aria-describedby attribute)
The page level progress button has an aria-label![MicrosoftTeams-image (6)](https://user-images.githubusercontent.com/93537804/196774176-c6ad8f56-c13f-4600-80b4-44bb5e71abda.png)
Page Progress
followed by instructions and the completion percentage. It should only sayPage Level Progress
and the percentage.