This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
Release v0.0.4
axs.AuditRule.run() has a new signature: it now takes an options object. Please see method documentation for details.
Audit Rule severity can be overridden (per Audit Rule) in AuditConfig.
Minor fixes:
- axs.utils.isLowContrast() now rounds to the nearest 0.1 before checking (so #777 is now a passing value)
- MainRoleOnInappropriateElement was always failing due to accessible name calculation taking the main role into account and not descending into content (now just gets descendant content directly)
- UnfocusableElementsWithOnClick had a dangling if-statement causing very noisy false positives
Full diff from v0.0.3: v0.0.3...v0.0.4