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

Re: Seeking input on making a feature of draft W3C site more accessible

From: Ian Jacobs <ij@w3.org>
Date: Wed, 30 Sep 2009 11:59:18 -0500
To: Charles McCathieNevile <chaals@opera.com>
Message-Id: <4D3DB240-ECD2-4E6D-B0E2-E07BFC633FF3@w3.org>
Cc: w3c-wai-ig@w3.org
On 25 Sep 2009, at 4:29 AM, Charles McCathieNevile wrote:

[skip]

>>
>>   * When javascript is enabled, there is one image to indicate  
>> "closed" and another to indicate "open." The images are inserted  
>> via CSS. The javascript is used to position a class attribute value  
>> in the content, and the CSS is applied accordingly (displaying or  
>> hiding content according to the current state).
>
> Instead of changing the CSS (admittedly this is convenient) why not  
> have the javascript modify the document, directly inserting the  
> image (with alt). After all, it is meaningful content, and therefore  
> should not be included via CSS (what happens if I have scripting  
> enabled, but CSS not applied (as per Opera's User mode)?


Charles,

Thank you for the suggestion, which we've adopted. The site has been  
updated so that
the hide/show image is now in the markup with alt text.

  _ Ian
--
Ian Jacobs (ij@w3.org)    http://www.w3.org/People/Jacobs/
Tel:                                      +1 718 260 9447
Received on Wednesday, 30 September 2009 16:59:22 GMT

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