Is your feature request related to a problem? Please describe.
There are some correct uses of aria-hidden related to core blocks that it would be good for us to exclude from flagging an aria-hidden warning because we know that they are correct.
Describe the solution you'd like
Here are the code snippets:
<span aria-hidden="true" class="wp-block-cover__background has-background-dim"></span>
<span class="wp-block-post-featured-image__overlay has-background-dim has-background-dim-10 has-contrast-2-background-color" style="border-radius:5px" aria-hidden="true"></span>
Why do you think this feature is something we should consider for this plugin?
We should avoid as many false positives as we can and make our rules the best ruleset for WordPress. 🙂
Is your feature request related to a problem? Please describe.
There are some correct uses of aria-hidden related to core blocks that it would be good for us to exclude from flagging an aria-hidden warning because we know that they are correct.
Describe the solution you'd like
Here are the code snippets:
<span aria-hidden="true" class="wp-block-cover__background has-background-dim"></span><span class="wp-block-post-featured-image__overlay has-background-dim has-background-dim-10 has-contrast-2-background-color" style="border-radius:5px" aria-hidden="true"></span>Why do you think this feature is something we should consider for this plugin?
We should avoid as many false positives as we can and make our rules the best ruleset for WordPress. 🙂