-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update sitemap a11y scan #463
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.
LGTM! I agree with not processing the sitemap on each request but this works locally now and can be modified later.
.github/workflows/a11y.yml
Outdated
@@ -0,0 +1,158 @@ | |||
name: A11y Tests | |||
on: | |||
pull_request: |
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.
once we have all the kinks worked out, let's update this to run on a schedule like thebroken-links-check.yml
workflow
Something like:
on:
# Manual trigger
workflow_dispatch:
# Schedule; currently once nightly, at 3:20 UTC.
schedule:
- cron: 20 3 * * *
(I've adjusted the hours from the broken link schedule to offset load on the runners)
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.
@alexfinnarn everything LGTM, let's bump this to be scheduled and we can merge
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.
there's one false positive with a 502 in the latest run, but otherwise everything LGTM. i'd like to get this merged and we can iterate as needed on the actual results. great work on this!
.github/workflows/a11y.yml
Outdated
@@ -0,0 +1,158 @@ | |||
name: A11y Tests | |||
on: | |||
pull_request: |
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.
@alexfinnarn everything LGTM, let's bump this to be scheduled and we can merge
Description
Relates to #16117.
Testing done
Running test locally with all the options via CLI, e.g.
BASE_URL=https://va.gov USE_PROXY=false PW_WIDTH_VALUE=768 PW_HEIGHT_VALUE=720 PW_BROWSER_VALUE=firefox SEGMENT_INDEX=0 yarn playwright test --project=a11y
Screenshots
QA steps
a11y-scan-1
artifact and open it to confirm violations are listed by URL with a valid JSON syntax. The browser name and viewport size should be included with each URL listed.