UNPKG

@hint/hint-axe

Version:

hint that that checks using axe for accessibility related best practices

27 lines (18 loc) 1.09 kB
<!-- autogenerated by scripts/create/create-docs.js --> <!-- markdownlint-disable MD013 --> # Axe: Color (`color`) `axe/color` contains accessibility rules from the axe color 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) * [Elements must have sufficient color contrast][color-contrast] (color-contrast) * [Elements must have sufficient color contrast][color-contrast-enhanced] (color-contrast-enhanced) ## Additional rules (off by default) * [Links must be distinguishable without relying on color][link-in-text-block] (link-in-text-block) <!-- Link labels: --> [can configure]: https://webhint.io/docs/user-guide/hints/hint-axe/#can-the-hint-be-configured [color-contrast]: https://dequeuniversity.com/rules/axe/4.4/color-contrast [color-contrast-enhanced]: https://dequeuniversity.com/rules/axe/4.4/color-contrast-enhanced [link-in-text-block]: https://dequeuniversity.com/rules/axe/4.4/link-in-text-block