-
Notifications
You must be signed in to change notification settings - Fork 58
Docs accessibility issues
Gaël Poupard edited this page Jan 7, 2021
·
16 revisions
On v5-dev, pa11y-ci is configured to ignore a few things.
Here's a comprehensive list of ignored rules and elements, to discuss:
- The
heading-orderrule is ignored, since Bootstrap doesn't want to improve their heading hierarchy (and this is probably not a big deal, only a few level skipped). -
3rdparty:
.bd-searchis ignored, it comes from Algolia. -
3rdparty:
[id*='tarteaucitron']for, well, Tarteaucitron, which is a nightmare to fix at some point. -
3rdparty:
#TableOfContentsis flagged as redundantnavlandmark, which is generated by Hugo (so we can't change it) and moreover is not an issue at all. -
Orange:
.text-primary,.navbar-light .navbar-brand,.active,[aria-current],.accordion-button:not(.collapsed)are ignored since their contrasts aren't sufficient (#f16e00on#fff, brand side). -
[disabled] labeland[disable + label]for contrast issues (brand side), however WCAG 2.1 does not require sufficient contrast for inactive elements. -
.modalsince it's flagged asaria-hiddencontaining interactive content: this is how the modal works… -
.bd-example navis flagged too for the same reason, but it's meant to documentnavusage, so…
To maybe fine-tune our criterias, pa11y's wiki has a comprehensive list of ignorable rules.