Skip to content

2.0.7

Latest

Choose a tag to compare

@Natshah Natshah released this 24 Sep 08:56

What's changed

A stricter accessibility impact gate, probes that skip hidden elements, and a full check in one step.

The impact gate is now a ladder (#61, #62)

the page should have no serious accessibility violations now also fails on critical violations. Each gate covers its level and everything worse.

A suite that was green can go red on upgrade. Before, a page with a critical violation passed the serious gate.

New: the page should have no accessibility violations fails on any impact.

Probes skip what assistive technology cannot reach

The button, link, image and field probes ignore anything under aria-hidden="true", inert or hidden, and anything not displayed. A hidden overlay scrim no longer fails every button should have an accessible name. axe already worked this way.

The full check, in one step

Then the page should pass the full accessibility check
Then I print the full accessibility check

Runs axe (AA by default, or at level "A") and every structural probe in one pass, and reports every failure at once. The print form reports without failing.

Also new: the element "X" should not violate the accessibility rule "Y".

user zoom should be allowed now fails on any maximum-scale below 2, the same line axe draws.

Install: npm install --save-dev @vardot/varbase-e2e@2.0.7