RE: Element.getComputedRole()



From: Richard Schwerdtfeger [mailto:schwer@us.ibm.com]


What is critically important when we go to ARIA 1.1 is if an author chooses to not add an ARIA role to fulfill the design of compound widget (like a Grid) then if the semantics match the design pattern it should work. Here is an example:

<table role="grid">
<row>
<!—The author is using a non-standard HTML element (“row”) instead of TR. The ARIA role is presumably inferred from the name of the element. -->



<th role="columnheader">foo</th>
</row>
<row>
<td role="gridcell">foo</td>
</row>
</table>

I hope I’m interpreting the above correctly. If so, then a custom element such as <grid> would be given a “grid” role, too. The Web Apps working group is working on technologies that would associate code, and hence behavior, with such custom-defined elements.



________________________________

This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.


Thank you for your compliance.

________________________________

Received on Friday, 17 October 2014 17:54:32 UTC