top

Auditor Release Notes: Version 2.0.1

A list of featured updates to the HTML_CodeSniffer bookmarklet in release version 2.0.1, released on 27th March 2014. This list is focused for users of the bookmarklet, and focuses on changes to tests and the auditor interface. A full list of updates can also be found in the project's technical bookmarklet changelog.

Bookmarklet Update: Now supports HTTPS

Support for HTML_CodeSniffer over sites that use Secure HTTP (HTTPS) has been an issue for some time. With recent changes that Github made to their secure certificate (to now cover sites on the Github Pages domain) combined with changes to the bookmarklet now mean that it should now work over HTTPS.

The bookmarklet link on the HTML_CodeSniffer home page has been updated. Existing bookmarklets can be updated by removing the “http:” from the path near the start (so that the path reads “//squizlabs.github.io/HTML_CodeSniffer/build/”). This ensures that the same scheme (protocol) is used as the site you are testing.

This will allow many more sites to be able to use HTML_CodeSniffer, but it is not completely foolproof, depending on site and browser security settings.

Auditor Interface

Bug Fixes

WCAG 2.0 Standards Updates

References to Principles, Guidelines, Success Criteria and Conformance Requirements should be read in line with the WCAG 2.0 Recommendation.

Updates and bug fixes

If a colour contrast ratio fails, but by less of a margin than the default precision shown by HTML_CodeSniffer (which is 2 decimal places), the extra decimals are now shown to prove that this is not a false positive.

An example in the issues list had a contrast ratio of 4.497:1, which would show as “4.5:1” and thus appearing to “pass” a 4.5:1 contrast test, but now shows with all three decimals.

Also, a JavaScript error in the standard was fixed, which was triggered when a colour contrast test failed.

Section 508 Standards Updates

References to Section 508’s rules should be read in line with the U.S. Government’s regulations defining the Section 508 standards for “Web-based intranet and internet information and applications”.

Updates and bug fixes