Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/queries/byrole.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ If you set `hidden` to `true` elements that are normally excluded from the
accessibility tree are considered for the query as well. The default behavior
follows https://www.w3.org/TR/wai-aria-1.2/#tree_exclusion with the exception of
`role="none"` and `role="presentation"` which are considered in the query in any
case. For example in
case. Elements in [`inert` subtrees](https://html.spec.whatwg.org/multipage/interaction.html#inert-subtrees)
are also considered hidden. For example in

```html
<body>
Expand Down