html-validate
Advanced tools
Changelog
1.2.0 (2019-06-23)
prefer-tbody
to validate presence of <tbody>
in <table
.requiredAncestors
metadata and validation to test elements with
additional requirements for the parent elements, such as <area>
and
<dd>
/<dt>
.HtmlElement.closest()
to locate a parent matching the given selector.HtmlElement.matches()
to test if a selector matches the given element.foo > bar > baz
now works as expected.Changelog
1.1.1 (2019-06-07)
Reporter
is now exposed in shim.getFormatter
CLI API now returns output as string instead of writing
directly to stdout.codeframe
formatter now adds final newline in output.Changelog
1.1.0 (2019-06-04)
input-missing-label
now validates <textarea>
and <select>
.querySelector
and friends now handles [attr="keyword-with-dashes"]
and
similar constructs.Changelog
1.0.0 (2019-05-12)
wcag/h37
now ignores images with role="presentation
or
aria-hidden="true"
.crossorigin
attribute to be boolean or ""
(maps to "anonymous"
).<picture>
element.<style>
as foreign as to not trigger errors inside css content.class = "foo"
.Changelog
0.25.1 (2019-05-10)
&
) in quoted attributes.