dequelabs / axe-core

Accessibility engine for automated Web UI testing
https://www.deque.com/axe/
Mozilla Public License 2.0
5.89k stars 771 forks source link

Disable axe-linter for one line? #4471

Open simpel opened 4 months ago

simpel commented 4 months ago

Product

axe-core

Question

image

Hi!

See the image above, how can I disable it for that specific line? For eslint it would be //eslint-disable-next-line but how to do that for the axe-linter?

michael-siek commented 4 months ago

Hey @simpel we have this feature request already on our backlog of features we would like to implement. Once this feature has been implemented in axe-linter I can reach out and update you.

simpel commented 4 months ago

Hello!Ah, so no possibility to disable for now then, thanks for reaching out!On 22 May 2024, at 21:53, Michael @.***> wrote: Hey @simpel we have this feature request already on our backlog of features we would like to implement. Once this feature has been implemented in axe-linter I can reach out and update you.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

WilcoFiers commented 4 months ago

This looks like a false positive to me. Axe-linter should know elements with dangerouslySetInnerHTML may not be empty.