Add JSON reporter to produced artifacts in Automated Accessibility
Problem to solve
The a11y MVC is great in giving me a viewable HTML artifact, but it's huge and not easy to digest which issues are the worst and which category of issues are most prevalent. Beyond that everyone who wants to see this has to download it and follow instructions about how to view the file and get the data. If I could see the latest accessibility report for my project in GitLab it would be much more valuable for me to create new issues to improve the a11y of my project for users.
One of the produced artifacts should be a JSON file with all the results from the accessibility scan.
Intended users
A developer who wants to consume a11y data for their repository branches and merge requests, including our own frontend devs in 12.10: #39425 (closed)
Further details
Proposal
Run a pa11y
scan with the reporter set to json
as well as html
The simplest implementation of this will be to run the pa11y
scan twice, which could be inefficient for a large number of pages but is the MVC that produces the data we want.
We currently use the plain pa11y
library, but pa11y-ci
is available and easy to use as well.
Permissions and Security
Documentation
Testing
What does success look like, and how can we measure that?
What is the type of buyer?
Links / references
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.