You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/automated-tests.md
+115Lines changed: 115 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -93,3 +93,118 @@ Try this out by saving the file as `pa11y.config.js`, then:
93
93
npm install -g pa11y-ci
94
94
pa11y-ci --config pa11y.config.js
95
95
```
96
+
97
+
### Accessibility testing in GitLab CI
98
+
99
+
Here is a practical example of combining [Pa11y](https://pa11y.org/) and django-pattern-library in GitLab CI to run automated accessibility tests. This three-stage build first compiles a project’s static assets (CSS, JS), then generates pattern library static files with Django (with the [`render_patterns` command](../reference/api.md#render_patterns) command can be), and finally tests those static pages with Pa11y.
0 commit comments