Skip to content

Commit

Permalink
chore(summary-name): add role=button example
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers committed Jul 8, 2024
1 parent 135898b commit 25ca51f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions test/integration/rules/summary-name/summary-name.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@
Conflict resolution gets this to be ignored
</details>

<details>
<summary id="button-role-fail" role="button"></summary>
Conflict resolution gets this to be ignored
</details>

<!-- Invalid naming methods -->

<details>
Expand Down
3 changes: 2 additions & 1 deletion test/integration/rules/summary-name/summary-name.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
["#heading-role-fail"],
["#value-attr-fail"],
["#alt-attr-fail"],
["#label-elm-fail"]
["#label-elm-fail"],
["#button-role-fail"]
],
"passes": [
["#text-pass"],
Expand Down

0 comments on commit 25ca51f

Please sign in to comment.