What
Concerns the rule: Web:S6821 - DOM elements with ARIA roles should have a valid non-abstract role
The rule is reporting that the attribute role
with the value toolbar
is invalid.
But this value exists in the linked documentation Accessible Rich Internet Applications (WAI-ARIA) 1.2
What language is this for?
HTML
IDE/Plugins versions
SonarLint 10.6.2.78685
IntelliJ IDEA 2024.1.2 (Ultimate Edition)
How can we reproduce the problem?
You can use the code in this bootstrap example in an HTML document: Button group · Bootstrap v5.3