-
Notifications
You must be signed in to change notification settings - Fork 0
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
[114] Add CI for A11y (axe-core-rspec) #141
Conversation
<main role="main"> | ||
<div class="usa-card__container custom-card col-md-6 rules-of-behavior"> | ||
<h1 class="usa-card__body"> |
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.
These new lines fix some existing a11y issues
@@ -1,5 +1,5 @@ | |||
<!DOCTYPE html> | |||
<html> | |||
<html lang="en"> |
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.
a11y fix
<%= javascript_include_tag 'uswds', async: true %> | ||
<%= javascript_include_tag 'uswds-init', async: true %> |
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.
fix the load order bug that caused race condition on js eval
aria-labelledby="modal-1-heading" | ||
aria-describedby="modal-1-description" | ||
> | ||
<dialog |
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.
switching to standard <dialog>
component allows us to bypass the hidden button clicks that were blocking keyboard tab navigation a11y
e9f77e9
to
626bb82
Compare
This PR addresses #114