Skip to content

Commit

Permalink
chore(deps-dev): bump pa11y-ci from 2.42.0 to 3.0.1 (#938)
Browse files Browse the repository at this point in the history
* changed the way errors are reported locally and in GitHub actions
* changed the `hideElements` rule to adapt to the new aXe rules
* it allowed to find new a11y enhancements that have been done here:
  * add some `aria-label`s in Navbar component page
  * modified the markup of the Nested tabs components
  * improved semantics for buttons in Cards examples
  * add missing `aria-labelledby` in our Footer component's accordions

Co-authored-by: louismaxime.piton <[email protected]>
  • Loading branch information
julien-deramond and louismaximepiton authored Dec 7, 2022
1 parent 889e108 commit f5ed0b7
Show file tree
Hide file tree
Showing 11 changed files with 593 additions and 590 deletions.
10 changes: 7 additions & 3 deletions build/.pa11yci.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@
"--no-sandbox"
]
},
"reporters": [
"cli",
["json", { "fileName": "./pa11y-ci-results.json" }]
],
"runners": [
"axe"
],
"hideElements": "[id*='tarteaucitron'], #TableOfContents, .text-primary, .accordion-button:not(.collapsed), .active, [aria-current], select:disabled, [disabled] label, [disabled] + label, .modal, .bd-example nav, .badge.rounded-pill.bg-info.text-white, a.disabled, .form-check.form-switch, .nav-tabs .nav-item .nav-link.disabled, body > div.position-fixed:last-of-type",
"useIncognitoBrowserContext": false,
"hideElements": "iframe, #text-decoration + p + div a.text-decoration-none, .accordion-collapse, #offcanvas, #offcanvasDark, #offcanvasResponsive, #bdSidebar",
"ignore": [
"heading-order",
"scrollable-region-focusable"
"color-contrast"
]
}
}
Loading

0 comments on commit f5ed0b7

Please sign in to comment.