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

Re: Possible problem with Fahrner Image Replacement

From: Tom Gilder <w3c@tom.me.uk>
Date: Tue, 15 Jul 2003 09:11:15 +0100
Message-ID: <172305434875.20030715091115@tom.me.uk>
To: w3c-wai-ig@w3.org

On Tuesday, July 15, 2003, 3:26:35 AM, Joe Clark wrote:
> There is, however, the problem that screen readers are yoked to
> visual browsers and inherit their stylesheet interpretations. 
> {display: none} really means {display: none}, and the treatment of 
> visibility: hidden is unclear.

Easily fixed, just don't hide the text - move it out the way:

  <h1 class="wai"><span>Web Accessibility Initiative</span></h1>

  .wai {
    background-image: url(http://www.w3.org/Icons/wai);
    width: 212px;
    height: 48px;
    overflow: hidden;
  }

  .wai span {
    display: block;
    padding-top: 48px;
  }

...although I'm still trying to work out a way to do it with just one
element.
  
-- 
Tom Gilder, http://tom.me.uk/
 Blog! http://blog.tom.me.uk/
Received on Tuesday, 15 July 2003 04:11:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:10 GMT