cloud-gov / cg-ui

for the 2024 18F-supported cloud.gov product UI formerly known as the Stratos Dashboard
Other
3 stars 0 forks source link

Add automated a11y testing #114

Open echappen opened 4 months ago

echappen commented 4 months ago

Now that we're getting into building UI components, we should incorporate accessibility (a11y) testing into the repo.

pa11y-ci is the preferred method in the Engineering Practices guide, but I'm open to trying Chrome's Lighthouse CI.

Every page/component tested should meet or exceed WCAG 2.1 AA standards.

Acceptance criteria

echappen commented 4 months ago

Ask Pages on their current work

jduss4 commented 4 months ago

@sknep sent their latest: https://github.com/cloud-gov/pages-cf-build-tasks/tree/main/tasks/a11y

echappen commented 1 month ago

This will have the same limitations as with E2E testing (#347) because mock CF resources will need to be stood up and torn down during the CI runs.