Today, Fresh Consulting is announcing the release of our WCAG 2.0 PHPCS Linter. The linter is a set of rules (or sniffs) for PHP Code Sniffer which can automatically detect and alert when certain WCAG 2.0 violations are detected in code.
WCAG 2.0 supports designers and developers in meeting the guidelines and success criteria of accessibility. The guidelines are published by the Web Accessibility Initiative (WAI) of the World Wide Web Consortium (W3C). W3C is the international standards bearer for the Internet.
We use our WCAG 2.0 PHPCS Linter as part of our Continuous Integration process, to help detect and fix errors as soon as possible.
While the linter can’t detect all WCAG 2.0 violations, it can detect some. This makes the code more accessible, while also reminding developers of the accessibility rules they should always be following.
We recommend designing and developing for accessibility to create websites that meet the needs of a broad array of users. In so doing, you’ll create equal opportunity for accessing information and ensure that compliance standards are met.
Download the Linter:
Download the Fresh Consulting WCAG 2.0 PHPCS Linter today at https://github.com/FreshConsulting/FreshConsulting-WCAG-Linter.
Interested in reading more about Website Accessibility? Download our white paper, Your Guide to Website Accessibility.