- What language is this for? JS/TS/React
- Which rule? S6819 Prefer tag over ARIA role
- Why do you believe it’s a false-positive/false-negative?
Quoting from ARIA: table role - Accessibility | MDN
Thetable
value of the ARIArole
identifies … similar to the native HTML element. Therefore using some other component does not conflict with the role attributes specificationUsing a component framework that has a table implementation, which does not have the aria role set can be enriched with that specific attribute. Since there is no sensible way to disable a rule for a single line, let alone for a specific rule, in JS/TS/React, the only way around is disabling the rule