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

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 UTC