Skip to content

Commit

Permalink
Editorial: Fix for #759 (#885)
Browse files Browse the repository at this point in the history
Clarify if an author applies an ARIA global attribute on an element with an inherited role of presentation, the user agent should expose the element to the accessibility tree.
  • Loading branch information
jnurthen authored and joanmarie committed Jan 15, 2019
1 parent 04360c9 commit 2a72f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5063,7 +5063,7 @@ <h5>Note regarding the ARIA 1.1 <rref>none</rref> role.</h5>
<section id="conflict_resolution_presentation_none">
<h5>Presentational Roles Conflict Resolution</h5>
<p>There are a number of ways presentational role conflicts are resolved.</p>
<p>Host languages elements having implicit presentational roles for which no roles may be applied MUST never be exposed in the accessibility tree, with this exception: user agents MUST always expose global WAI-ARIA states and properties to accessibility APIs. In this case, the user agent ignores the <code>presentation</code> role and exposes the element according to its implicit native semantics. However, user agents MUST ignore any non-global, role-specific WAI-ARIA states and properties, unless it is on an inherited presentational role where an explicit role is applied.</p>
<p>Host languages elements having implicit presentational roles for which no roles may be applied MUST never be exposed in the accessibility tree, with this exception: user agents MUST always expose global WAI-ARIA states and properties to accessibility APIs. In this case, the user agent ignores the explicit or inherited <code>presentation</code> role and exposes the element as described in the accessibility API mappings for presentational objects which remain in the accessibility tree. However, user agents MUST ignore any non-global, role-specific WAI-ARIA states and properties, unless it is on an inherited presentational role where an explicit role is applied.</p>
<p>For example, <pref>aria-haspopup</pref> is a global attribute and would always be applied; <pref>aria-level</pref> is not a global attribute and would therefore only apply if the element was not in a presentational state.</p>
<pre class="example highlight">
<span class="comment">&lt;!-- 1. [role="presentation"] is ignored due to the global aria-haspopup property. --&gt;</span>
Expand Down

0 comments on commit 2a72f09

Please sign in to comment.