- From: Jon Gunderson <jongund@illinois.edu>
- Date: Fri, 15 Jan 2010 08:02:12 -0600 (CST)
- To: "Henri Sivonen" <hsivonen@iki.fi>, "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: "Jonas Sicking" <jonas@sicking.cc>, "Edward O'Connor" <hober0@gmail.com>, "Sam Ruby" <rubys@intertwingly.net>, "HTML WG" <public-html@w3.org>
What are the problems of using the following CSS code to render some element off screen, yet still have it available to speech renderings, like a screen reader: .offscreen { position: absolute; left: -300em; top:-30em } Jon ---- Original message ---- >Date: Fri, 15 Jan 2010 12:46:16 +0200 >From: Henri Sivonen <hsivonen@iki.fi> >Subject: Re: ISSUE-95 hidden - Chairs Solicit Proposals >To: "Tab Atkins Jr." <jackalmage@gmail.com> >Cc: Jonas Sicking <jonas@sicking.cc>, "Edward O'Connor" <hober0@gmail.com>, Sam Ruby <rubys@intertwingly.net>, HTML WG <public-html@w3.org> > >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 > >-- >Henri Sivonen >hsivonen@iki.fi >http://hsivonen.iki.fi/ > > > Jon Gunderson, Ph.D. Coordinator Information Technology Accessibility Disability Resources and Educational Services Rehabilitation Education Center Room 86 1207 S. Oak Street Champaign, Illinois 61820 Voice: (217) 244-5870 WWW: http://www.cita.illinois.edu/ WWW: https://netfiles.uiuc.edu/jongund/www/ --------------------------------------------------------------- Privacy Information --------------------------------------------------------------- This email (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. It is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this email is not the intended recipient, or agent responsible for delivering or copying of this communication, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please reply to the sender that you have received the message in error, then delete it. Thank you.
Received on Friday, 15 January 2010 14:02:47 UTC