My case is the following:
I have one instance of text <p> that is repeated 10 times on my page and I'd like to not check color contrast on this one piece of text. The repetition occurs via the repetition of the component it is in, and the component contains other text/elements that I do want checked.
Any solutions to turning it off just for that one element?
I am aware of how you can ignore specific rules (https://github.com/pa11y/pa11y-ci/issues/60), but is there a way to ignore a specific rule only for specific elements?
My case is the following: I have one instance of text
<p>
that is repeated 10 times on my page and I'd like to not check color contrast on this one piece of text. The repetition occurs via the repetition of the component it is in, and the component contains other text/elements that I do want checked.Any solutions to turning it off just for that one element?