Question

we are using Jenkins for our CI.

Our code is mainly in PHP (Zend framework), and we would like to validate every commit to comply with WCAG standards.

Alternatively, we would like to validate the HTML using some customs rules (no IMG tag without ALT attribute, no HTML tag without lang, etc).

Does anyone know a good plugin that might be useful or have some lead to implement a solution?

Thank you

Was it helpful?

Solution

If you don't want to code some checks yourself have a look at HTML_CodeSniffer the sources are on Github. You can call that via jenkins "Execute Shell" or in your build scripts.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top