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

Accessibility Shift-Left Implementation #197

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Sreenivas-Kalluru
Copy link
Contributor

Accessibility Shift-Left Implementation

Copy link
Collaborator

@JavierMatosD JavierMatosD left a 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"
Copy link
Collaborator

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?

Copy link
Collaborator

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/"
Copy link
Collaborator

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
Copy link
Collaborator

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 @@
{
Copy link
Collaborator

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.

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.

2 participants