Skip to content

Commit 29ea22f

Browse files
author
Stuart Reilly
committed
Bump pa11y-ci
1 parent cf6ad68 commit 29ea22f

File tree

6 files changed

+1137
-433
lines changed

6 files changed

+1137
-433
lines changed

.github/workflows/check-a11y-of-changed-content.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup Ruby
3737
uses: ruby/setup-ruby@v1
3838
with:
39-
ruby-version: 2.3
39+
ruby-version: 3.4
4040

4141
- name: Install gems
4242
run: bundle config path vendor/bundle && bundle install

.github/workflows/lint.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Lint Posts
22

33
on:
44
pull_request:
5-
branches:
6-
- 'gh-pages' # Runs when a PR targets the gh-pages branch
75

86
jobs:
97
lint-posts:

.pa11yci.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22

33
const relativeUrls = require("./pa11y-ci-urls");
44

5-
const chromiumBin = process.env.CHROMIUM_BIN;
6-
if (!chromiumBin) {
7-
throw new Error("CHROMIUM_BIN environment variable is not set");
8-
}
9-
105
const baseUrl = "http://localhost:4000";
116

127
// Colour contrast is a known issue. If we ever fix the brand colours, this should be removed.
@@ -19,13 +14,7 @@ const colourContrastRuleIds = [
1914

2015
module.exports = {
2116
defaults: {
22-
chromeLaunchConfig: {
23-
executablePath: chromiumBin,
24-
args: ["--no-sandbox"],
25-
},
2617
ignore: [...colourContrastRuleIds],
27-
reporter: "cli",
28-
runners: ["htmlcs"],
2918
},
3019
urls: relativeUrls.map((url) => `${baseUrl}${url}`),
3120
};

generate_pa11y_ci_urls_from_git_diff.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)