-
Notifications
You must be signed in to change notification settings - Fork 18
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
Accessibility Shift-Left Implementation #197
base: main
Are you sure you want to change the base?
Accessibility Shift-Left Implementation #197
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.
Does this mean we need to run the scripts/rebuild
script for every PR now? I think this should run on whatever .html
files changed in the PR
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest')) | ||
enabled: true | ||
inputs: | ||
baselineFile: "$(Build.SourcesDirectory)/baselines/vcpkg.github.io.baseline" |
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 we should be checking in a txt file for this. Can this point to a tmp file go be uploaded to GHA as an artifact?
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 change my mind here. I think checking the file in is fine if the file represents "known" issues. I.e., the PR will fail if there are new issues that don't exist in the baseline file.
enabled: true | ||
inputs: | ||
baselineFile: "$(Build.SourcesDirectory)/baselines/vcpkg.github.io.baseline" | ||
url: "https://vcpkg.io/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.
This should point to the generated files, not the live site since this is meant to catch accessibility bugs in PRs.
baselineFile: "$(Build.SourcesDirectory)/baselines/vcpkg.github.io.baseline" | ||
url: "https://vcpkg.io/en/" | ||
inputUrls: | | ||
https://vcpkg.io/en/packages |
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.
Ditto
@@ -0,0 +1,6 @@ | |||
{ |
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 like the idea of checking in a file for this purpose.
Accessibility Shift-Left Implementation