pa11y-ci — The unofficial lookup guide

  1. Ignoring html/elements in pa11y-ci
    In pa11y-ci in case you have third party widgets etc, and have html you want to ignore, you can add the hideElements node in your config.
{
"defaults": {
"timeout": 15000
"hideElements": "#lc_chat_layout",
},
"urls": [
"https://url1",
"https://url2",
],
"ignore": [
"notice",
"warnings"
]
}

This configuration can be applied per url too.

{
"defaults": {
"timeout": 15000
},
"urls": [
{
"url": "https://url1"
"hideElements": "#lc_chat_layout"
},
"https://url2"
],
"ignore": [
"notice",
"warnings"
]
}