Having a product ready for the market is essential in software development, and automated quality gates are the way to go!
Our colleague, Alexandru Dumbraveanu, explains the way accessibility tests can be automated, which, in the end, may lead to an integration with a CI/CD pipeline.
Why should you test for accessibility?
The European Commission mentions that web accessibility allows everyone, including people with disabilities, to perceive, understand, navigate and interact with the Internet. The World Health Organization reports that about 15% of the world's population lives with some form of disability, of whom 2-4% experience significant difficulties in functioning.
Advantages of automated accessibility testing
Automated accessibility testing can be easily integrated with other UI automated tests and also provides clear feedback on the issues detected.
Limitations of automated accessibility testing
You cannot test everything accessibility-related. At best, only 40% of every WCAG criteria can be automated. Nevertheless, some can be automated partially. For example, it is possible to check that a picture has an <alt> tag but it's not possible for a script to evaluate if the tag has an appropriate semantic meaning.