UNPKG

@hint/hint-axe

Version:

hint that that checks using axe for accessibility related best practices

29 lines (20 loc) 1.19 kB
<!-- autogenerated by scripts/create/create-docs.js --> <!-- markdownlint-disable MD013 --> # Axe: Time and Media (`time-and-media`) `axe/time-and-media` contains accessibility rules from the axe time-and-media category. See the ["Can the hint be configured?"][can configure] section of `hint-axe` for examples of enabling, disabling, and changing the severity of individual rules. ## Default rules (WCAG 2.1 Level A and Level AA) * [\<audio> elements must have a captions track][audio-caption] (audio-caption) * [\<blink> elements are deprecated and must not be used][blink] (blink) * [Timed refresh must not exist][meta-refresh] (meta-refresh) ## Additional rules (off by default) * [\<video> or \<audio> elements must not play automatically][no-autoplay-audio] (no-autoplay-audio) <!-- Link labels: --> [can configure]: https://webhint.io/docs/user-guide/hints/hint-axe/#can-the-hint-be-configured [audio-caption]: https://dequeuniversity.com/rules/axe/4.4/audio-caption [blink]: https://dequeuniversity.com/rules/axe/4.4/blink [meta-refresh]: https://dequeuniversity.com/rules/axe/4.4/meta-refresh [no-autoplay-audio]: https://dequeuniversity.com/rules/axe/4.4/no-autoplay-audio