accname icon indicating copy to clipboard operation
accname copied to clipboard

accname-aam clarify hidden

Open jnurthen opened this issue 7 years ago • 3 comments

From @jnurthen on November 6, 2017 23:38

Step 2A states

If the current node is hidden

Where hidden is defined as

Indicates that the element is not visible, perceivable, or interactive to any user. An element is considered hidden if it or any one of its ancestor elements is not rendered or is explicitly hidden.

Please clarify if a node is hidden using aria-hidden whether it should be included in the accessible name calculation.

Copied from original issue: w3c/aria#658

jnurthen avatar May 30 '18 22:05 jnurthen

On that account, would visibility: hidden or visibility: collapse also count as explicitly hidden?

kasperisager avatar Jun 19 '18 08:06 kasperisager

"On that account, would visibility: hidden or visibility: collapse also count as explicitly hidden?"

Yes, though I don't think we need to document all ways this is done within native host semantics since the browser handles this automatically. The aria-hidden attribute is different because it explicitly hides something in the accessibility tree without involving the native host semantic such as what is visibly rendered.

accdc avatar Jun 25 '18 16:06 accdc

It looks like this has been solved by #150 which added a comment to Step 2A to clarify what "hidden" means.

Jym77 avatar Nov 10 '22 09:11 Jym77