dequelabs / dequelabs/axe-core
Add ability to ignore certain results
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
### Product
axe-core
### Feature Description
The color-contrast rule sometimes outputs `Element's background color could not be determined because it is overlapped by another element` messages. These messages are a result of how the CSS & DOM is structured and not something that is easily "fixed". Instead i would like the ability to ignore these specific messages. I do NOT want to disable the entire color-contrast rule. Just these results.
Perhaps
```js
ignoreResults: `Element's background color could not be determined because it is overlapped by another element`
```
Or
```js
ignoreResults: /(overlapped by another element)/
```
Contributor guide
Assessment
This issue has not been assessed yet.