ISSUE-682: Clarify what happens to required owned childrens' roles when native host language parent is overridden with a WAI-ARIA role.

Clarify override of native host role with respect to roles of its required owned children

Clarify what happens to required owned childrens' roles when native host language parent is overridden with a WAI-ARIA role.

State:
CLOSED
Product:
ARIA 1.1 Core Mapping Specification
Raised by:
Joseph Scheuhammer
Opened on:
2014-10-20
Description:
Certain native host language elements have required owned children. Examples include the <table> element and the lists <ol> and <ul>. Tables have <tbody>, <tr>, etc. as required descendants, and lists have <li> required descendants.

The spec. is clear that if, say, a <table> is given a @role="presentation" or @role="none", then the required owned descendants inherit the presentation/none role. Also, the section on native host semantics (7.5 "Conflicts with Host Language Semantic"), states that, "When a WAI-ARIA role is provided, user agents MUST use the semantic of the WAI-ARIA role for processing, not the native semantic, unless the role requires WAI-ARIA states and properties whose attributes are explicitly forbidden on the native element by the host language."[1].

It's not clear what happens with the roles of the required owned elements when the parent has its role overridden with a role other than presentation. For example, what role do a <table>'s <tr> elements have in this situation: <table role="dialog">, since, based on the rule that UAs MUST use the ARIA role, the table semantic is replaced with a dialog semantic.

When authors creates a dialog as above, it's likely that they are using the table for layout purposes. It's equivalent to:
<div role="dialog">
<table role="presentation"> ... </table>
</div>

In that case, the rule is: When the author replaces the host language semantics with a WAI-ARIA role, then the required owned children of the native semantic all implicitly have a presentation/none role.

[1] http://rawgit.com/w3c/aria/master/aria/aria.html#host_general_conflict

Related Actions Items:
Related emails:
No related emails

Related notes:

Closing as associated ACTION-1745 is closed.

Joseph Scheuhammer, 8 Jul 2016, 14:48:21

Display change log ATOM feed


James Nurthen <w3c@nurthen.com>, Valerie Young <spectranaut@igalia.com>, Chairs, Daniel Montalvo <dmontalvo@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 682.html,v 1.1 2023/05/22 16:31:58 carcone Exp $