department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
282 stars 203 forks source link

[Assistive tech and device support] Alert and status messages aren't announced without receiving focus. (11.22.1) #67294

Closed shiragoodman closed 11 months ago

shiragoodman commented 1 year ago

General Information

VFS team name

MHV-Medications

VFS product name

MHV Medications

VFS feature name

Medications

Point of Contact/Reviewers

Ryan Smith - @rsmithadhoc - Accessibility

*For more information on how to interpret this ticket, please refer to the Anatomy of a Staging Review issue ticket guidance on Platform Website.


Platform Issue

Alert and status messages aren't announced without receiving focus.

Issue Details

After using the "Request the first fill" button, the success message does not get announced by screen readers.

Link, screenshot or steps to recreate

VA.gov Experience Standard

Category Number 11, Issue Number 22

Other References

WCAG SC 4.1.3_AA

Platform Recommendation

Follow design system guidance on providing a role for this alert.


VFS Guidance

BobbyBaileyRB commented 11 months ago

The developers have implemented ARIA live for these buttons to announce the alerts to people using screen readers.

We got your request with aria-live