W3C home > Mailing lists > Public > public-pfwg-comments@w3.org > January to March 2008

Non-use of native roles in examples

From: Henri Sivonen <hsivonen@iki.fi>
Date: Mon, 24 Mar 2008 11:54:00 +0200
Message-Id: <D9EB4393-D403-4911-8480-B364BEA32280@iki.fi>
To: public-pfwg-comments@w3.org

 From http://www.w3.org/TR/wai-aria-practices/
> <table role="grid">
>    <tr>
>       <td role= "columnheader">Apples</td><td role=  
> "columnheader">Oranges</td>
>    </tr>
>    <tr>
>       <td role="gridcell" aria-readonly="false">Macintosh</td><td  
> role="gridcell">Valencia</td>
>    </tr>
> </table>

I disagree with putting <td role="columnheader"> forward as a "best  

HTML has had native markup for this a decade prior to ARIA: <th  
scope="col">, and it is exactly as stylable as <td  
role="columnheader">. There should be no reason to encourage authors  
to use the wrong native semantic fixed with ARIA in this case.  
Instead, using the native semantic should be shown as a "best practice".

Henri Sivonen
Received on Monday, 24 March 2008 09:54:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:45:56 UTC