-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Action Performed:
Prerequisites:
- the user is signed in
- Using Chrome + JAWS, open the URL https://new.expensify.com/
- Navigate using the Tab key to the Workspaces section.
- Move focus to the More options icon (three vertical dots) > Duplicate Workspace
- Navigate using the tab key to the Next button and press Enter to activate it.
- Navigate using the tab key to the checkboxes and observe the screen reader announcement.
Expected Result:
Screen readers should announce both the main label and the associated descriptive text, providing full context, e.g.:
- 'Reports, 3 report fields'
Actual Result:
When navigating to the Reports checkbox, the screen reader announces only the main label (“Eg: Reports”) and does not announce the additional descriptive text (“3 report fields”). As a result, users are not provided with complete context or details for what the checkbox represents.
HTML:
Area issue was found in:
Workspace
Failed WCAG checkpoints
WCAG 2.4.6 Headings and Labels
https://www.w3.org/WAI/WCAG22/Understanding/headings-and-labels
User impact:
Descriptive headings are necessary for users who have disabilities that make reading slow and for people with limited short-term memory. These users benefit when section titles make it possible to predict what each section contains. Form input controls with labels that clearly describe the content that is expected to be entered helps users know how to successfully complete the form.
Suggested resolution:
Ensure that both texts are either included in the current aria-label or associated with the checkbox by using and <for .. ID>.
https://www.w3.org/WAI/tutorials/forms/labels/
Environment(s)
Windows Windows 11 - Chrome
Screenshots/Videos
Bug6996772_1762753469520.Screen_Reader-Workspace-Checkboxes_are_announced_without_part_of_the_displayed_text.mp4
Version Number: NA
Reproducible in staging?: NA
Reproducible in production?: Yes
Email or phone of affected tester (no customers): NA
Logs: https://stackoverflow.com/c/expensify/questions/4856 NA
Notes/Photos/Videos: Any additional supporting documentation Yes
Expensify/Expensify Issue URL: https://platform.applause.com/company/12102/products/36605/community-issues/6996772
Issue reported by: NA
Slack conversation: NA