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

[114] Add CI for A11y (axe-core-rspec) #141

Merged
merged 5 commits into from
Sep 10, 2024
Merged

[114] Add CI for A11y (axe-core-rspec) #141

merged 5 commits into from
Sep 10, 2024

Conversation

stepchud
Copy link
Contributor

@stepchud stepchud commented Sep 5, 2024

This PR addresses #114

@stepchud stepchud added this to the Sprint 09/10/24 milestone Sep 5, 2024
@stepchud stepchud linked an issue Sep 5, 2024 that may be closed by this pull request
1 task
Comment on lines +1 to +3
<main role="main">
<div class="usa-card__container custom-card col-md-6 rules-of-behavior">
<h1 class="usa-card__body">
Copy link
Contributor Author

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">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a11y fix

Comment on lines +35 to +36
<%= javascript_include_tag 'uswds', async: true %>
<%= javascript_include_tag 'uswds-init', async: true %>
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@kkrug kkrug requested a review from jairoanaya September 6, 2024 13:53
@stepchud stepchud merged commit bb4b5c8 into dev Sep 10, 2024
11 checks passed
@stepchud stepchud deleted the 114-add-axe-rspec branch September 10, 2024 21:46
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.

Continuous a11y integration: axe
2 participants