HTML_CodeSniffer

Software Screenshot:
HTML_CodeSniffer
Software Details:
Version: 2.0.5 updated
Upload Date: 12 May 15
Developer: Squiz Pty Ltd
Distribution Type: Freeware
Downloads: 63
Size: 161 Kb

Rating: nan/5 (Total Votes: 0)

HTML_CodeSniffer analyzes the structure of a Web page and reports on various violations, split into three categories: errors, warnings and notices.

Works with the Web Content Accessibility Guidelines (WCAG) 2.0. Levels A, AA and AAA supported.

HTML_CodeSniffer is also available as a bookmarklet as well, allowing developers to analyze HTML code already published online, or even somebody else's code as well.

What is new in this release:

  • WCAG 2.0 (SC 1.3.1, 4.1.2) Remove H44 and H91 messages for labels wrapped around inputs.

What is new in version 2.0.4:

  • WCAG 2.0 (SC 1.3.1, 4.1.2) Remove H44 and H91 messages for labels wrapped around inputs.

What is new in version 2.0.2:

  • Rewrite "labelling inputs" code to take into account March 2014 changes
  • Confusing "Multiple labels exist with the same "for" attribute" error
  • A title is a valid name for a in H91
  • Contrast issues on elements that are absolutely positioned should be downgraded to a warning

What is new in version 2.0.1:

  • Auditor: Fixed issue which saw the standards list dropdown empty in Internet Explorer 8.
  • Section 508 (Rules A, L): Unwound dependencies in the Section 508 standard so that it can be distributed without needing the WCAG 2.0 standard as well.
  • Section 508 (Rule J): Fixed a JavaScript error for pages that did not have a title attribute in their head.
  • WCAG 2.0 (SC 1.3.1) Remove test for "Multiple label tags with same for attribute.
  • WCAG 2.0 (SCs 1.4.3, 1.4.6) If a contrast ratio test fails but would appear the same as the boundary value to two decimal places, more decimals will be used to show the contrast ratio to make it clear it is failing.
  • WCAG 2.0 (SCs 1.4.3, 1.4.6) Fixed a JavaScript error if a contrast ratio test fails.
  • Core: Fixed a JavaScript error that could be triggered in isStringEmpty() when passed a non-string (issue #76). Also removed duplicated code in WCAG 2.0 (SC 1.1.1).

What is new in version 64:

  • First release of U.S. Section 508 standards for HTML_CodeSniffer.
  • Fixed a bug in the sniff that checked for presence and position of labels, concerning input elements that did not have a "type" attribute. HTML\_CodeSniffer did not correctly interpret them as the default "text" input type, and instead emitted errors.
  • Removed an "nbsp" and replaced with its numeric unicode value, so that the auditor would run correctly on XHTML pages properly served as xhtml+xml". The nbsp entity does not exist in XHTML served as XML by default, as XML itself does not define it.
  • Fixed a bug in the sniff that fails links containing an image with no alt text. It produced a false positive if such an image were in the same link along with text that was all outside another element (such as a span).
  • Applet elements with a missing body were being misdiagnosed as a Notice. It is now properly considered an Error.

What is new in version 49:

  • Auditor:
  • Fixed an issue where the auditor popup would not become semi-transparent in IE8 when the pointer is underneath the popup.
  • Fixed a bug where IE8 would throw an "Unknown runtime error" when attempting to change pages in the issue list if placed inside invalid HTML, such as nested forms.
  • HTML_CodeSniffer now provides a reason as to why an element cannot be pointed to using the pointer.
  • Various Sniffs:
  • Certain sniffs that emit notices now fire on each found element, rather than one fired at the top of the document. This includes audio/video tag sniffs in Guidelines 1.2 and 1.4, as well as input fields in SC 3.2.1.
  • Core:
  • Messages from sniffs that start from the top of the document are now listed in DOM order, like sniffs that focus on certain elements directly. This should reduce the amount of "bouncing" up and down a document due to elements being pointed to in different parts.

Requirements:

  • JavaScript enabled on client side

Similar Software

Sinon.js
Sinon.js

6 Mar 16

Jasmine
Jasmine

9 Apr 16

Mockito
Mockito

5 Jun 15

Buster.JS
Buster.JS

1 Mar 15

Other Software of Developer Squiz Pty Ltd

PHP_CodeSniffer
PHP_CodeSniffer

20 Jul 15

Comments to HTML_CodeSniffer

Comments not found
Add Comment
Turn on images!