W3C home > Mailing lists > Public > public-html-a11y@w3.org > September 2013

[Bug 23370] Strong Native Semantics table appears to imply @hidden trumps @aria-hidden

From: <bugzilla@jessica.w3.org>
Date: Fri, 27 Sep 2013 00:32:35 +0000
To: public-html-a11y@w3.org
Message-ID: <bug-23370-3290-lJMjsIgsoG@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23370

--- Comment #7 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> ---
> I propose the change be to remove that line from the "strong" table (and
> possibly add it to the "weak" table) because the @hidden and @aria-hidden
> actually mean different things:
>
> @hidden indicates the element is not rendered in any modality unless:
>  - visually overridden with @style.
>  - semantically overridden with @aria-hidden for accessibility APIs.
>
> @aria-hidden is an explicit override for any display property that only
> affects accessibility APIs, and always trumps other display settings or
> attributes for the output to said APIs.

Let me also discuss what you are *not* proposing:

In theory, we could have have removed the aria-hidden="true" semantics from
@hidden. Then all conflicts with ARIA would be solved. From AT users’ point of
view (or at least: from their user experience’ point of view),  the *only*
thing we *win* by linking @hidden to aria-hidden="true" is that we can do this,
which you described above as a hack:

   <div hidden style="display:block">AT don't see me!</div>

Or does AT see <script> different from <script hidden="">? Would it change
*anything*, in the real world, if <p style="display:none"> and <p hidden="">
become 100% synonymous? (THus: that hidden just became an alias for
display:none [except that @hidden is also supposed to be implemented even if
the UA does not support CSS].) 

Some of the arguments in defense of "getting as much @aria-hidden=true as
possible" (which is how you could see the linking of @aria-hidden=true to
@hidden) seems to be focused on the AT equipment, namely the fact that
aria-hidden="true" does *more* than simply CSS-hiding the content [namely, it
removes stuff from the accessibility tree]. It clutters up the debate because,
from users’ point of view (AT users, that is), there is no difference (right?)
between the following variants:

 <p aria-hidden="true">
 <p style="display:none">
 <p hidden="">

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 27 September 2013 00:32:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:35 UTC