rspec/rules/S6811/html/rule.adoc
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
372 B
Plaintext

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