W3C home > Mailing lists > Public > public-html-a11y@w3.org > March 2010

Re: generated content Re: Table Summary Change Proposal

From: Maciej Stachowiak <mjs@apple.com>
Date: Tue, 02 Mar 2010 13:37:45 -0800
Cc: Laura Carlson <laura.lee.carlson@gmail.com>, Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>, "Gregory J. Rosmaita" <oedipus@hicom.net>, "public-html-a11y@w3.org" <public-html-a11y@w3.org>
Message-id: <318DE446-F56F-4443-8F43-87C7620E8638@apple.com>
To: Charles McCathieNevile <chaals@opera.com>

On Mar 2, 2010, at 12:27 PM, Charles McCathieNevile wrote:

>
> This is not VoiceOver, but a Safari bug. By design Opera exposes  
> generated
> content to screen readers, so the summary attribute on a table can be
> rendered. The following code:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
> <html dir="ltr">
> <head>
>   <title>test generated content</title>
>   <style>
>    p:before { content: "this is " }
>    table:before { content: attr(summary) }
>   </style>
> </head>
> <body>
> <p>the test
>
> <table summary="it works">
> <tr><td>1</td><td> 2</td></tr>
> </table>
> </body></html>
>
> renders in Opera 10.10 with VoiceOver as
>
> "this is" "the test"
>
> "it works table"
>
> (I didn't go into the table cells).

I cannot reproduce the bug. Safari+VoiceOver reads the generated  
content in this case, as far as I can tell.

Regards,
Maciej
Received on Tuesday, 2 March 2010 21:38:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:42:03 GMT