Re: addition of HTML role requirement mappings

That's right. However having mapping for tr, thead and friends doesn't make
really sense having no mapping for table and td.

Also I'm somehow concerned about implicit semantics section having wording
'role must be either': people do so crazy things about HTML tables + ARIA
so any role theoretically can settle up on table elements.

Thank you.
Alex.



On Fri, Feb 21, 2014 at 8:39 AM, Steve Faulkner <faulkner.steve@gmail.com>wrote:

> Hi Alex,
> right we had discussed this at the time when hixie was still editing the
> w3c html spec and wanted to specify that.
>
> so out of the roles the ones that look bogus to me are:
>
> table element     grid role
> td element     gridcell role
> th element     gridcell role
>
> also the author restrictions on all of them need to be reveiewed
>
>
> --
>
> Regards
>
> SteveF
> HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>
>
>
> On 21 February 2014 13:33, Alexander Surkov <surkov.alexander@gmail.com>wrote:
>
>> Hi, Steve. Table is not a grid and vice versa. ARIA doesn't have roles
>> for table elements.
>> Thanks.
>> Alex.
>>
>>
>> On Fri, Feb 21, 2014 at 8:17 AM, Steve Faulkner <faulkner.steve@gmail.com
>> > wrote:
>>
>>> Hi all,
>>>
>>> hixie has added some role requirements and restrictions in the whatwg
>>> spec that will  soon come up for cherry picking [1] to the HTML 5.1 spec.
>>> previously we determined that some of the following were not
>>> appropriate, so am asking for ARIA folk to review:
>>>
>>> note: implementers MUST map to these roles and authors are restricted to
>>> applying the roles listed for each element (authors can also apply
>>> role=presentation).
>>>
>>> strong semantics:
>>>
>>> table element     grid role
>>> tbody element     rowgroup role
>>> td element     gridcell role
>>> tfoot element     rowgroup role
>>> thead element     rowgroup role
>>> tr element     row role
>>>
>>>
>>> implicit semantics:
>>>
>>> th element     gridcell role     Role must be either columnheader,
>>> rowheader, or gridcell
>>>
>>>
>>>
>>> [1]
>>> https://github.com/w3c/html/commit/5b5ad72b8e7bb36ab863effc942829eef82fe3c4#commitcomment-5449710
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Regards
>>>
>>> SteveF
>>> HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>
>>>
>>
>>
>

Received on Friday, 21 February 2014 13:56:51 UTC