diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 0aa019c13c..42172287df 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -31,3 +31,15 @@ jobs: git diff --stat exit 1 fi + - name: Scan for accessibility issues + task: accessibility-insights.prod.task.accessibility-insights@3 + condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest')) + enabled: true + inputs: + baselineFile: "$(Build.SourcesDirectory)/baselines/vcpkg.github.io.baseline" + url: "https://vcpkg.io/en/" + inputUrls: | + https://vcpkg.io/en/packages + maxUrls: 1 + scanTimeout: 1200000 + failOnAccessibilityError: false diff --git a/baselines/vcpkg.github.io.baseline.txt b/baselines/vcpkg.github.io.baseline.txt new file mode 100644 index 0000000000..8a70efcbb1 --- /dev/null +++ b/baselines/vcpkg.github.io.baseline.txt @@ -0,0 +1,6 @@ +{ + metadata: { + fileFormatVersion: '1', + }, + results: [], +} \ No newline at end of file