Accname tests for assorted combinations of aria-owns, aria-hidden, and host language hiding techniques

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

Ignore aria-owns when on an element that is hidden from all users

treasure

Computed name of parent heading persists when aria-owns fails to relocate its contents

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

reflection

Ignore aria-owns when it targets an element that is hidden from all users

World Wide Web Consortium

Ignore aria-owns when it targets an element with an ancestor that is hidden from all users

World Wide Web Consortium

aria-hidden remains in effect on an element after it is relocated using aria-owns

World Wide Web Consortium