W3C home > Mailing lists > Public > public-html@w3.org > January 2010

Re: ISSUE-95 hidden - Chairs Solicit Proposals

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 15 Jan 2010 08:40:53 -0700
Message-ID: <dd0fbad1001150740j1219d19av4283d4110c125c9f@mail.gmail.com>
To: Henri Sivonen <hsivonen@iki.fi>
Cc: Jonas Sicking <jonas@sicking.cc>, "Edward O'Connor" <hober0@gmail.com>, Sam Ruby <rubys@intertwingly.net>, HTML WG <public-html@w3.org>
On Fri, Jan 15, 2010 at 3:46 AM, Henri Sivonen <hsivonen@iki.fi> wrote:
> On Jan 15, 2010, at 02:07, Tab Atkins Jr. wrote:
>
>> Like Jonas, I feel there is great value in @hidden.  My reasoning is
>> very practictal; I want to be able to maintain the handful of CSS
>> hacks that *do* hide something from the visual rendering only.  It's
>> already impossible to use display:none to hide content just from
>> visual UAs (leaving it for screen readers), as it is used too commonly
>> to indicate that the element should be hidden entirely, and so
>> non-visual UAs are forced to also ignore it to be useful to their
>> users.  The CSS hacks we still have available to us are less
>> widespread and slightly more work, and the existence of a single,
>> simple attribute that can handle the "hide this element" role should
>> hopefully minimize the misuse of those hacks, ensuring they remain
>> useful for longer.
>
> The hidden attribute is *not* appropriate for the use case of hiding stuff from the visual rendering only. The hidden attribute is meant to mark a DOM subtree pruned from all presentations on all media. Hence, the hidden attribute is supposed to make it appear as though accessibility API mapping could work from the DOM without querying the computed style for the screen media and as though non-CSS HTML+JS UAs could work with Web apps. That is, the hidden attribute is a "semantic" way of saying display: none;.
>
> See:
> http://www.whatwg.org/specs/web-apps/current-work/#display-types

Sorry if I wasn't clear; that's precisely what I'm saying.  I'm glad
that @hidden exists, because then we can use it to properly hide
things from all users, reserving our CSS hacks for hiding things just
from sighted users.

~TJ
Received on Friday, 15 January 2010 15:41:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:57 GMT