Skip to content

Commit

Permalink
- Testing: Exclude bootstrap docs and codefund from accessibility tes…
Browse files Browse the repository at this point in the history
…ts (beyond immediate control)
  • Loading branch information
brettz9 committed May 23, 2019
1 parent dcd5113 commit 4a51c52
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/accessibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ function axeCheckWithConfig (t) {
t,
// context: https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#context-parameter
{
exclude: ['.carbon-wrap > a.carbon-img']
exclude: [
// Ignore bootstrap docs (should be fixed by them)
['.bs-docs-footer'],
// Ignore codefund
['*[class|="cf"]']
]
},
// https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#options-parameter
{
Expand Down

0 comments on commit 4a51c52

Please sign in to comment.