dequelabs / dequelabs/axe-core

Add ability to ignore certain results

Open
#4,707 1 comment 0 reactions 0 assignees View on GitHub
core feat
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.