RE: aria-labelledby pointing to an element with aria-hidden=”true”

Final comment (I promise):

http://w3c.github.io/aria/core-aam/core-aam.html#exclude_elements2


A respective

>>> Note
>>> Text equivalents for hidden referenced objects may still be used in the name and description >>> calculation even when not included in the accessibility tree.

Is added in chapter below

http://w3c.github.io/aria/core-aam/core-aam.html#include_elements


which I was looking for as “allowing” specification. So all fine for me.


-          Stefan


From: Schnabel, Stefan
Sent: Donnerstag, 13. April 2017 14:42
To: Steve Faulkner <faulkner.steve@gmail.com>
Cc: public-aria@w3.org
Subject: RE: aria-labelledby pointing to an element with aria-hidden=”true”

Hi Steve,

On reading

http://w3c.github.io/aria/accname-aam/accname-aam.html#dfn-hidden


I had the impression that aria-hidden falls NOT in this realm since you can also flag visible text with aria-hidden=true violating the ALL users precondition for that definition.

So are we back at square one with my question? Or should the definition changed for it covers also aria-hidden?

Regards
Stefan


From: Schnabel, Stefan [mailto:stefan.schnabel@sap.com]
Sent: Donnerstag, 13. April 2017 14:25
To: Steve Faulkner <faulkner.steve@gmail.com<mailto:faulkner.steve@gmail.com>>
Cc: public-aria@w3.org<mailto:public-aria@w3.org>
Subject: RE: aria-labelledby pointing to an element with aria-hidden=”true”

Thanks! This was exactly I was looking for. It’s not in the ARIA spec but the mapping guide…
>> that and include *hidden text* as ..

A even sharper one would be clarifying additionally by which means hidden text was hidden (there quite a few, aria-hidden is just one of them).

If this reads

>> that and include *text hidden with any known method (aria-hidden, CSS, display=none etc* as ..

we are fine.


-          Stefan

From: Steve Faulkner [mailto:faulkner.steve@gmail.com]
Sent: Donnerstag, 13. April 2017 13:59
To: Schnabel, Stefan <stefan.schnabel@sap.com<mailto:stefan.schnabel@sap.com>>
Cc: public-aria@w3.org<mailto:public-aria@w3.org>
Subject: Re: aria-labelledby pointing to an element with aria-hidden=”true”

refer to Accessible Name and Description: Computation and API Mappings 1.1

http://w3c.github.io/aria/accname-aam/accname-aam.html#step2

Comment:
By default, assistive technologies<http://w3c.github.io/aria/accname-aam/accname-aam.html#dfn-assistive-technologies> do not relay hidden information, but an author can explicitly override that and include hidden text as part of the accessible name<http://w3c.github.io/aria/accname-aam/accname-aam.html#dfn-accessible-name> or accessible description<http://w3c.github.io/aria/accname-aam/accname-aam.html#dfn-accessible-description> by using aria-labelledby or aria-describedby.

--

Regards

SteveF
Current Standards Work @W3C<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>

On 13 April 2017 at 12:49, Schnabel, Stefan <stefan.schnabel@sap.com<mailto:stefan.schnabel@sap.com>> wrote:
I have a question to the group regarding aria-labelledby pointing to an element with aria-hidden=”true”.

Is that an allowed relation according to http://www.w3.org/TR/wai-aria/ ?

Also, http://www.w3.org/TR/wai-aria-1.1/#aria-hidden and http://www.w3.org/TR/wai-aria-1.1/#aria-labelledby give no clue about this so it seems to be OK.
I do not speak of better alternatives for respective use cases, just if the specification explicitely leaves that as a possible option.
Screen readers (Jaws) currently read information in nodes with aria-hidden=”true” associated with aria-labelledby when respective elements with that relation are focused.

Best Regards
Stefan

Received on Thursday, 13 April 2017 12:54:51 UTC