From 5d672f95655fdb901997ccd5787ccd456506a015 Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Mon, 20 Nov 2023 17:38:47 -0800 Subject: [PATCH 1/2] Add a11y tools to a11y hub --- deployments/a11y/image/apt.txt | 4 ++++ deployments/a11y/image/postBuild | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/deployments/a11y/image/apt.txt b/deployments/a11y/image/apt.txt index d13c51d1d..0bf40fa6c 100644 --- a/deployments/a11y/image/apt.txt +++ b/deployments/a11y/image/apt.txt @@ -34,3 +34,7 @@ ruby # Other niceties for command-line work and life rsync + +# Add chromium to the a11y image for testing with pa11y +chromimum-browser + diff --git a/deployments/a11y/image/postBuild b/deployments/a11y/image/postBuild index e2c9129d3..c8631e697 100644 --- a/deployments/a11y/image/postBuild +++ b/deployments/a11y/image/postBuild @@ -1,8 +1,9 @@ #!/usr/bin/env bash set -eux -# install pa11y for DH-169 +# install pa11y tools for DH-169 -npm install -g pa11y-ci +npm install -g pa11y-ci@3.1.0 +npm install -g pa11y@6.2.3 From ebab719a830485422f7ed9e2f8a23e852e63eaa3 Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Mon, 20 Nov 2023 17:45:32 -0800 Subject: [PATCH 2/2] fix typo --- deployments/a11y/image/apt.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/a11y/image/apt.txt b/deployments/a11y/image/apt.txt index 0bf40fa6c..24dad6eac 100644 --- a/deployments/a11y/image/apt.txt +++ b/deployments/a11y/image/apt.txt @@ -36,5 +36,5 @@ ruby rsync # Add chromium to the a11y image for testing with pa11y -chromimum-browser +chromium-browser