-
Notifications
You must be signed in to change notification settings - Fork 67
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
Promo banner is inaccessible to keyboard and screen reader users, poor usability on mobile #725
Comments
@joshkimux - Which 508 defect level would you assign to this? I want to label it appropriately and want to get your input on the severity. By your description I would say a 1 or a 2. Does that seem right? |
@joshkimux regarding this acceptance criteria:
I believe that it is already satisfied, the actual link just takes up a lot of space: |
@bkjohnson thanks for clarifying, I'll update the acceptance criteria! Ideally we'd like the link to not be full width beyond the text itself to prevent misclicks on mobile screen readers (because this is sticky and full width). |
Updated this to include a screenshot from @cgednalske on how big the promo banner can be at 175% zoom for Veterans with low vision |
@joshkimux - @Jenny-yw will reach out to you in order to review a test plan we have related to Announcements and banners. Moving that forward may "make space" for promo banner to move up in the page hierarchy. However, otherwise, we don't really have cycles on the Design System Team to move this forward. I suggest you work with Michelle Middaugh on where the Promo banner might live on the home page in future. That team was getting feedback on a component that may handle similar content. |
I recently came across a related promo banner issue when doing an accessibility audit of the newly redesigned VA.gov home page. When doing screen reader testing, there are two landmarks that appear in the rotor that are not actually visible on the page. This means that although nothing is visible, to assistive technology users they may mistakenly think something is there. Both have a role=“region”. One has a data-widget-type=“maintenance-banner”, and the other is a related to the PACT Act. |
@wesrowe - Is Promo banner no longer with the home page update? Or does it still lurk on va.gov? |
I don't see any reason for it not to be available. Did you expect it somewhere it didn't appear? |
Bug Report
The problem
The promo banner (VA Design System) creates an inequivalent experience for screen reader, mobile, and keyboard users.
The promo banner's float property in particular can:
It's also difficult for screen reader users to find as:
Screen.Recording.2021-10-19.at.10.14.12.AM.mov
Removing the float property, but styling it at the bottom of the page would still result in an unpredictable tabbing experience and it would no longer be visible on page load.
Removing the float property and styling it at the top of the page would be better, but may result in an undesirably chunky header.
The usability of this component also diminishes with added complexity e.g. multiple alerts and multiple promo banners on the homepage.
Recommendation
Before
@cgednalske demoing what this looks like at 175% zoom
After
I spent some time mocking 4 potential resolutions to the issues taking into account added complexity with:
Promo banners and alerts have unique h2s above the h1 in a separate complementary landmark
A status region contains all promo banners and alerts as a list without any headings inbetween the header and the main
Promo banner and alerts are nested in the header
Promo banners and alerts are a part of the main as h2s after the h1
If we decide to jump into this discussion more, I can create codepen prototypes featuring each of these. Would also love to invite feedback on this from others too.
Acceptance criteria
Related tickets and conversations
Conversation with Dave, Ryan, and Kelson, this proposal was tabled by Dave for the following reasons:
Several other va-alert tickets address padding issues on mobile. I hope these designs can help further that conversation 🙇
Resources
The text was updated successfully, but these errors were encountered: