Skip to content

Screen Reader: Many Pages: The error message is not associated with the field #76939

Description

@nbhardwaj-del

Action Performed:

  1. Using JAWS + Chrome, open the page https://new.expensify.com/
  2. Navigate using TAB to the phone or email input field.
  3. Trigger an error message, then press Tab/Shift+Tab key to focus the field with an error.
  4. Note how the field is announced.

Other Occurrences:

  1. On Settings - Save the world - I know a teacher
  2. On Settings - Save the world - Intro your school principal
  3. On Settings - Security - Close account
  4. On Settings - Security - Two-factor authentication (step 2 of 2)
  5. On Settings - Profile - Display name
  6. On Settings - Profile - DOB
  7. On Settings - Profile - Phone number
  8. On Settings - Profile - Legal name
  9. On Settings - Profile - Address
  10. On Workspaces - Duplicate Workspaces
  11. On Workspaces - Overview - Workspace Name
  12. On Workspace - Categories - Add Category
  13. On Workspace - Expensify Card - Bank info
  14. On Workspace - Create Workspace - Confirm Workspace
  15. On Create Report - Add payment card

Expected Result:

The error message should be associated with the form control, so that it is announced upon focusing the control.

Actual Result:

The error message is not associated with the form control and is not announced upon focusing the control.

HTML:

Please enter an email or phone number
"

Area issue was found in:

Landing Page

Failed WCAG checkpoints

WCAG 1.3.1 Info and Relationships
https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships

User impact:

Users with different disabilities employ assistive technology to adapt content according to their specific needs. For example, users who are blind (using a screen reader) benefit when information conveyed through color is also available in text (including text alternatives for images that use color to convey information), and users who are deaf-blind and use braille (text) refreshable displays may be unable to access color-dependent information.

Suggested resolution:

Use the aria-describedby to associate the error message with the form control.
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-describedby

Environment(s)

Windows Windows 10 - Chrome

Screenshots/Videos

Bug6997302_1762539559698.Error_message_not_announced.mp4
Image

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/6997302
Issue reported by: NA
Slack conversation: NA

Issue OwnerCurrent Issue Owner: @rushatgabhane
Issue OwnerCurrent Issue Owner: @rushatgabhane

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

AccessibilityIssues affecting WACG accessibility on any platform.Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2Melvin TriageAutomatic AI Analysis of an issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions