accessible name calculation for hidden labels

It is unclear to me, from reading the accname spec [1] whether the
following markup  examples should result in an accessible name for a control

label with aria-hidden=true

<label for="test" aria-hidden="true"> name </label>
<input type="text" id="test">

label CSS set to display:none

<label for="test1" style="display:none"> name </label>
<input type="text" id="test1">

note: limted testing of some current browser implementations  = do not
produce accessible names from  labels with display:none or aria-hidden=true.

[1] rawgit.com/w3c/aria/master/accname-aam/accname-aam.html
--

Regards

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

Received on Tuesday, 22 September 2015 15:20:16 UTC