github-actions[bot] 3c5fedce9e
Create rule S6811 (#3858)
* Add html to rule S6811

* add html to rule S6811

---------

Co-authored-by: vdiez <vdiez@users.noreply.github.com>
Co-authored-by: Victor <victor.diez@sonarsource.com>
2024-04-11 09:30:19 +00:00

15 lines
394 B
Plaintext

include::../common/why.adoc[]
[source,javascript,diff-id=1,diff-type=noncompliant]
----
<div role="checkbox" aria-chekd={isChecked}>Unchecked</div> {/* Noncompliant: aria-chekd is not supported */}
----
include::../common/how.adoc[]
[source,javascript,diff-id=1,diff-type=compliant]
----
<div role="checkbox" aria-checked={isChecked}>Unchecked</div>
----
include::../common/resources.adoc[]