Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to ignore certain results #4707

Open
jpzwarte opened this issue Feb 10, 2025 · 0 comments
Open

Add ability to ignore certain results #4707

jpzwarte opened this issue Feb 10, 2025 · 0 comments
Labels
feat New feature or enhancement ungroomed Ticket needs a maintainer to prioritize and label

Comments

@jpzwarte
Copy link

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

ignoreResults: `Element's background color could not be determined because it is overlapped by another element`

Or

ignoreResults: /(overlapped by another element)/
@jpzwarte jpzwarte added feat New feature or enhancement ungroomed Ticket needs a maintainer to prioritize and label labels Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or enhancement ungroomed Ticket needs a maintainer to prioritize and label
Projects
None yet
Development

No branches or pull requests

1 participant