-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Action Performed:
Prerequisite:
- User has an account and is logged in.
- Using Windows Chrome + JAWS, open the page: [https://new.expensify.com/](https://new.expensify.com//)
- Tab to focus the Workspaces tab and press enter to activate.
- Select any workspace and press enter to activate.
- Tab to the 'Expensify Card' button and press enter to activate.
- Tab through the resulting content and note what receives focus and is announced.
Other Occurrences:
- On Book Travel
Expected Result:
Only interactive elements should be focusable and assigned ARIA roles. Static text should not receive focus or use interactive semantics.
Actual Result:
Static text “Unlimited virtual cards”, "Cash back on every US purchase", and "Spend controls and custom limits", receives keyboard focus and is exposed as a menuitem role element with an aria-label. This implies interactivity even though the element does not respond to any action.
HTML:
Area issue was found in:
Workspace Expensify Card
Failed WCAG checkpoints
WCAG 4.1.2 Name, Role, Value
https://www.w3.org/WAI/WCAG22/Understanding/name-role-value
User impact:
Providing role, state, and value information on all user interface components enables compatibility with assistive technology, such as screen readers, screen magnifiers, and speech recognition software, used by people with disabilities.
Suggested resolution:
Remove unnecessary interactive attributes such as tabindex="0", role="menuitem", and aria-label from non-interactive elements. If these are meant to be actionable, ensure they have a proper interactive role and corresponding functionality.
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label
Environment(s)
Windows 10 - Chrome
Screenshots/Videos
Bug7000159_1762834167662.non-interactive-text-elements-tab-focusable.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/7000159
Issue reported by: NA
Slack conversation: NA


