-
Notifications
You must be signed in to change notification settings - Fork 148
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
USWDS-Site: Add banner accessibility tests page #2687
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alex-hull @amycole501 @sarah-sch @finekatie
I tagged you all with some open questions below. Please review and let me know if you have any questions!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a suggestion for a wording change to the focus order check. I also approved your suggestion for the alt text additional prompt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding some comments and suggestions. Sorry that I didn't catch all of these in the drafting phase!
|
@sarah-sch @alex-hull @amycole501 This is ready for your re-review. I believe I have addressed all of your comments. We are still missing a test status for 2.4.6. @alex-hull @amycole501, can you let me know what status I should put there? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-wise, this is looking pretty good! Left a couple questions for ya but once your existing questions are cleared up this should be good to go
| - summary: Text meets color contrast requirements. | ||
| summary_additional: | | ||
| When you open the banner and use ANDI or another color contrast analyzer to look at the hex numbers, | ||
| the contrast between the banner text and background color is at least 4.5:1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious, for components with settings to customize colors, should we add a note that they'll need to test themselves if they customize colors? We do offer color contrast checks that will warn them if the colors aren't compliant so maybe we don't need to worry about noting here.
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it is necessary to add an additional note here. We explicitly state at the top of the page that each of these tests should be completed after the component is implemented in a project ("USWDS tests components in isolation. You need to test the banner component in the context of your own site to ensure compliance with Section 508 accessibility standards."), so users should be testing regardless. Any objections to moving forward as-is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm leaning more with, Amy. I think we can keep it as is (but I also see your POV as well, Charlie).
Co-authored-by: Charlie Mahoney <charlie.mahoney@bixal.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the tests look. Approving the additions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Summary
Added accessibility tests page for the banner component.
Important
We should update changelog dates before merge.
Related issue
Closes #2642
Preview link
Resources
Testing and review