Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FOR TESTING WITH LIVEMAIL ENV] Give banner role=status if just an update #5387

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tombye
Copy link
Contributor

@tombye tombye commented Feb 26, 2025

We currently use the role of 'alert' for all
banners. In recent accessibility testing, the
Digital Accessibility Centre (DAC) suggested we
should only be using that role for important or
time-sensitive updates. This changes the banner
component so the default role is 'status' to
reflect that.

In practice, this will change how the green
banners are announced by screen readers.

@tombye tombye force-pushed the change-default-role-for-banner branch 3 times, most recently from 306c55e to 25ce419 Compare February 26, 2025 15:24
We currently use the role of 'alert' for all
banners. In recent accessibility testing, the
Digital Accessibility Centre (DAC) suggested we
should only be using that role for important or
time-sensitive updates. This changes the banner
component so the default role is 'status' to
reflect that.

In practice, this will change how the green
banners are announced by screen readers.
@tombye tombye force-pushed the change-default-role-for-banner branch from 25ce419 to ee276b3 Compare February 27, 2025 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant