Re: generated content Re: Table Summary Change Proposal

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 UTC