Checking accessibility in a CI/CD pipeline
Not all applications include web interfaces, but whenever you do write a web app, we strongly recommend you use your GitLab CI/CD pipeline to make sure your interface is accessible for people with a range of disabilities. Fortunately, GitLab makes it easy to test your website against the Web Content Accessibility Guidelines (WCAG) laid out by the World Wide Web Consortium.
These guidelines address a wide assortment of characteristics of websites that could cause accessibility problems. Here are just a few of the things that the WCAG covers:
- Pages that require scrolling both vertically and horizontally
- HTML heading tags such as
<H1>
that contain no text - Text that doesn’t contrast strongly enough with its background
- Images that lack an alternative text description
- Button controls that have no name available for screen readers
You might be surprised both at how many accessibility problems this scanner...