aria icon indicating copy to clipboard operation
aria copied to clipboard

[Clarification] Presentational Roles Conflict Resolution - global WAI-ARIA states or properties on inherited presentational roles

Open giacomo-petri opened this issue 1 year ago • 5 comments

In the chapter on Presentational Roles Conflict Resolution, the 3rd bullet states:

If an element has global WAI-ARIA states or properties, user agents MUST ignore the none/presentation role and instead expose the element's implicit role. However, if an element has only non-global, role-specific WAI-ARIA states or properties, the element MUST NOT be exposed unless the presentational role is inherited and an explicit non-presentational role is applied.

Does this also encompass elements with an inherited presentational role? For instance:

<table role="presentation">
  <tbody>
    <tr>
      <td aria-description="Month">January</td>
      <td aria-description="Incoming">$100</td>
    </tr>
    <tr>
      <td aria-description="Month">February</td>
      <td aria-description="Incoming">$80</td>
    </tr>
  </tbody>
</table>

Is the third bullet relevant in this context?

I've observed that most browsers don't expose the td with a cell role (which seems reasonable), but perhaps we should clarify that the third bullet pertains solely to "explicit presentational roles."

giacomo-petri avatar May 29 '24 07:05 giacomo-petri