W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2004

possible alternative to css hiding with display:none etc

From: Rebecca Cox <Rebecca.Cox@intergen.co.nz>
Date: Tue, 31 Aug 2004 11:23:43 +1200
Message-ID: <16446983F8930B44BD3D0C296AC99F968FFE2B@wlgex3.intergen.org.nz>
To: <w3c-wai-ig@w3.org>

I still often see (and get asked to implement) content "hidden" from
screen display with CSS, that is meant to provide some sort of extra
information to users of text/speech browsers.

Ie, commonly using display:none or visibility:hidden, both which have
well documented failings.

I'm just wondering if perhaps this could be better achieved by using CSS
positioning to position the content to be hidden out of the viewable
area - eg:


<h1 id="testheader">Header we want to hide on screen</h1> 


position: absolute;
left: -420px;
width: 400px;
font-size: x-small;

Any ideas on this?


Rebecca Cox
Received on Monday, 30 August 2004 23:24:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:29 UTC