-
Notifications
You must be signed in to change notification settings - Fork 194
Add pa11y as a local and CI test #1227
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
c33a6f2
Install pa11y-ci
thisisdano e1c4e1f
Add pa11y scripts
thisisdano 7220b66
Add pa11y config
thisisdano f3441de
Ignore pa11y results JSON
thisisdano 5a57652
Add a script to output results to JSON
thisisdano 0b463c5
Remove scope from TDs (fixed 200 errors)
thisisdano 95fa9b9
Don't output figure
thisisdano 043c27c
Improve site-prose formatting
thisisdano 581e229
Use h2s in form controls accessibility include
thisisdano b988135
Jekyll ignore pa11y output
thisisdano 145787f
Use accessible color for "disabled" utility state content (fixed 250 …
thisisdano af659b5
Use white bg for sections that need red-50v callout text (30 errors)
thisisdano 422bd09
Don't use aside inside main content (Fixed 100 errors)
thisisdano c66f183
Add explicit ID to sidenav
thisisdano bef7b2b
Fix colors on layout grid page (Fixed 100 errors)
thisisdano 77d5d8c
Fix blockquote color in news
thisisdano 31e895e
Reformat and improve headings in header component
thisisdano 2fca5a1
Try 8 concurrent pa11y
thisisdano fe512b4
Fix list anchor links
thisisdano d6578df
Add page.type
thisisdano 8ee21ad
Use underscore hack to provide unique labels
thisisdano 5e6dbf7
Exclude variant partials from sitemap
thisisdano b57f358
Simplify pa11y expression
thisisdano 152df77
Remove heds from standalone card
thisisdano 6e43f01
Increase pa11y timeout
thisisdano b6a3a87
Remove unnecessary h-level heds from icon list
thisisdano abf79e4
Fix low-contrast caption
thisisdano 797027b
Use titles for videos and fix hed levels
thisisdano 71c3f79
Add label to all aria regions
thisisdano 8383ec7
Show release info as text
thisisdano e07186d
Wrap pre-formatted text
thisisdano 1172ab1
Use text-only releases on migrations page
thisisdano 1de3a6e
Fix heading order
thisisdano 917a8a4
Delete template.md
thisisdano 8255dfd
Allow scrollable elements to be focused
thisisdano befa57d
Don't include standalone template pages in sitemap
thisisdano e74c1ae
Use proper heading order
thisisdano dafd688
Increase timeout
thisisdano 31c621f
Add a pa11y github action
thisisdano 4515700
Use latest version of jekyll-sitemap
thisisdano 6d1e717
Exclude next from pa11y tests [for now]
thisisdano d3658a6
Merge branch 'main' into dw-add-pa11y
thisisdano a505f3f
Update package-lock.json
thisisdano 0ab870c
Update dependencies
thisisdano 988a374
Update package-lock.json
thisisdano 8a15f9a
Add USWDS build to github action
thisisdano 8adc0fe
Update pa11y.yml
thisisdano 4ee4c5e
Use feature branch of USWDS
thisisdano 32e37ac
Use localhost:4000 as default url
thisisdano 221f061
Remove axe test from test script
thisisdano 7ad19f6
Install html-proofer, update proof test, and proof links
thisisdano cc99c23
Update CI settings
thisisdano b1ccbd2
Use more permissive cache
thisisdano e9dbf51
Serve site before testing; run simple tests first
thisisdano 3567388
Reorganize scripts
thisisdano 51f0ccc
Update uswds
thisisdano 692df79
Update circle
thisisdano 3cc3106
Make sure we build assets in CI environment
thisisdano d3e6f3b
Save to proper cache key
thisisdano 6af4612
Add new serve script options
thisisdano d0ff4b4
Use proper heading order
thisisdano f23e850
Fix typo in cache key
thisisdano 0235353
Trigger re-run
thisisdano fc3fc2a
Test fewer concurrent processes
thisisdano 3a3c1e1
Streamline github action
thisisdano 550e433
Add pa11y to general tests and remove GH action
thisisdano 1e3cd6a
Attempt 8 concurrent processes
thisisdano 0d29acd
Attempt 16 concurrent processes
thisisdano 6b52b6e
Use 8 concurrent as 16 had no performance gain
thisisdano f2f231a
Include next section in accessibility scan
thisisdano 6b83b30
Add a mobile pa11y config and add to tests
thisisdano 005beea
Fix accessibility issues in next
thisisdano 3e5241c
Exclude NEXT from accessibility scan
thisisdano ded87c4
Remove duplicate script and add a detached site stop script
thisisdano 46d9810
Update .snyk
thisisdano 184528c
Use commas for better voicing
thisisdano 335f94c
Update uswds
thisisdano 74dad17
Update package-lock.json
thisisdano 9ab4818
Merge branch 'main' into dw-add-pa11y
thisisdano d81ce65
Add note about scrollable tables and focus
thisisdano 880b78a
Merge branch 'dw-add-pa11y' of github.com:uswds/uswds-site into dw-ad…
thisisdano 501cdb9
Use uswds:develop branch
thisisdano 698da13
Fix indents in next-prefooter.
mejiaj 1dc3db5
State tokens: update subnav ID.
mejiaj 9c847fa
Use localhost, not 127.0.0.1
thisisdano 4209571
Add localhost to serve
thisisdano a877657
Remove specific url key from config
thisisdano b4685bc
Break out different test sections as separate jobs
thisisdano a13bba6
Revert "Break out different test sections as separate jobs"
thisisdano 563ed6c
Improve functionality and readability of component-guidance include
thisisdano 53aff16
Use localhost for detached server, too
thisisdano 0940e02
Add page.type to the ID
thisisdano d350e0e
Merge branch 'main' into dw-add-pa11y
thisisdano 492a5a5
Update .snyk
thisisdano 2d228b1
Merge branch 'dw-add-pa11y' of github.com:uswds/uswds-site into dw-ad…
thisisdano File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Increase pa11y timeout
- Loading branch information
commit 6e43f0110cf179dbcbda99c9f4eaf59351358588
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"defaults": { | ||
"timeout": 90000, | ||
"concurrency": 8, | ||
"standard": "WCAG2AA", | ||
"runners": ["axe"] | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Default pa11y settings: