Re: ARIA role on HTML ul

Correction:

On 2014-10-16 9:19 AM, Joseph Scheuhammer wrote:
> Why is the author re-purposing the <table> element as a dialog? There 
> are two uses of <table>:  data tables and layout tables.  I think it's 
> highly doubtful that the author is making a "dialog-data table".  It's 
> more likely they are capitalizing on the layout provided by <table> 
> for displaying their components of their dialog.  In that case, the 
> situation relates to "partial answer 1", and is equivalent to:
>
> <div role="table>
>   <table role="presentation> ... </table>
> </div>
>
> That is, if the author's rational for re-purposing a table as a dialog 
> for layout purposes, then the <table> semantics are those of a layout 
> table.  The <table> descendant elements inherit the presentation role. 

The markup should be:
<div role="dialog">
   <table role="presentation"> ... </table>
</div>

-- 
;;;;joseph.

'Array(16).join("wat" - 1) + " Batman!"'
            - G. Bernhardt -

Received on Thursday, 16 October 2014 13:48:25 UTC