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

Re: Question on <pre> and <code> - violation of 1.3.1?

From: Andrew LaHart <andrew.lahart@us.ibm.com>
Date: Fri, 5 Sep 2008 10:54:08 -0400
To: w3c-wai-gl@w3.org
Message-ID: <OFB4278086.02B5D8CA-ON852574BB.0051964C-852574BB.0051DFE5@us.ibm.com>

Hi Tina, The <code> elements are not rendered on the page. As mentioned in
my email:
"(note I typed out the <code> tags to show where we use them. On the
rendered page those tags wouldn't be visible of course)."

I was just trying to show where the tags were... and trying to make the
post itself accessible:-)

The question is, if those tags are not visible nor readable by a screen
reader, is this a failure?

Here is the scenario I am referring to:
http://www.w3.org/TR/2008/WD-WCAG20-TECHS-20080430/ARIA1.html. Search for
the word describedby in the first paragraph of Example 1.

Take care
Andrew LaHart
IBM Human Ability and Accessibility Center

             <christophe.strob                                          To 
             be@esat.kuleuven.         <w3c-wai-gl@w3.org>                 
             be>                                                        cc 
             Sent by:                                                      
             w3c-wai-gl-reques                                     Subject 
             t@w3.org                  Re: Question on <pre> and <code> -  
                                       violation of 1.3.1?                 
             09/05/2008 10:47                                              

At 16:37 5/09/2008, Tina Holmboe wrote:

>On  5 Sep, Andrew LaHart wrote:
> > "This example uses scripting to add the <code>describedby</code>
> > to user interface controls on the page"
> >
> > Is the use of <code> in this fashion a failure?
>   Surely the use of the semantically significant element "CODE" is more
>   than enough to satisfy the requirements?

The litmus test is support by AT; being semantic is not sufficient in

Best regards,


Christophe Strobbe
K.U.Leuven - Dept. of Electrical Engineering - SCD
Research Group on Document Architectures
Kasteelpark Arenberg 10 bus 2442
B-3001 Leuven-Heverlee
tel: +32 16 32 85 51
Please don't invite me to LinkedIn, Facebook, Quechup or other
"social networks". You may have agreed to their "privacy policy", but
I haven't.

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

(image/gif attachment: graycol.gif)

(image/gif attachment: pic17415.gif)

(image/gif attachment: ecblank.gif)

Received on Friday, 5 September 2008 14:54:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 January 2018 15:34:04 UTC