File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -543,7 +543,10 @@ Queries for elements with the given role (and it also accepts a
543
543
` <button /> ` has the ` button ` role without explicitly setting the ` role `
544
544
attribute. The
545
545
[ W3C HTML recommendation] ( https://www.w3.org/TR/html5/index.html#contents ) lists
546
- all HTML elements with their default aria roles.
546
+ all HTML elements with their default ARIA roles. Additionally, as DOM Testing
547
+ Library uses ` aria-query ` under the hood to find those elements by their default
548
+ ARIA roles, you can find in their docs
549
+ [ which HTML Elements with inherent roles are mapped to each role] ( https://github.com/A11yance/aria-query#elements-to-roles ) .
547
550
548
551
If you set ` hidden ` to ` true ` elements that are normally excluded from the
549
552
accessibility tree are considered for the query as well. The default behavior
You can’t perform that action at this time.
0 commit comments