Accname tests for assorted combinations of aria-owns, aria-hidden, and host language hiding techniques
Text enclosed in a dashed red outline is aria-hidden="true".
Bold text with a yellow background is the target of another element’s aria-owns.
A button using aria-owns to specify its label
A link using aria-owns to concatenate extra text
World Wide Web Consortium
(opens in a new window)
Ignore aria-owns when on an element that is hidden from all users
This ninja can’t steal the...
treasure
Computed name of parent heading persists when aria-owns fails to relocate its contents
This oyster contains...
sand
a pearl
Computed name of parent heading excludes content relocated by aria-owns
The dog that caught the
Speeding
car
Ignore aria-owns when on an element with aria-hidden
This vampire can’t see its...
reflection
Ignore aria-owns when it targets an element that is hidden from all users
World Wide Web Consortium
(opens in a new window)
Ignore aria-owns when it targets an element with an ancestor that is hidden from all users
World Wide Web Consortium
(opens in a new window)
aria-hidden remains in effect on an element after it is relocated using aria-owns
World Wide Web Consortium
(opens in a new window)