Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove overly prescriptive distinctions from aria-current values. #1660

Merged
merged 3 commits into from
Aug 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11139,11 +11139,11 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
<p>The <sref>aria-current</sref> <a>attribute</a> is a token type. Any value not included in the list of allowed values SHOULD be treated by <a>assistive technologies</a> as if the value <code>true</code> had been provided. If the attribute is not present or its value is an empty string or <code>undefined</code>, the default value of <code>false</code> applies and the <sref>aria-current</sref> <a>state</a> MUST NOT be exposed by user agents or assistive technologies.</p>
<p>The <sref>aria-current</sref> attribute is used when an element within a set of related elements is visually styled to indicate it is the current item in the set. For example:</p>
<ul>
<li>A <code>page</code> token used to indicate a link within a set of pagination links, where the link is visually styled to represent the currently-displayed page.</li>
<li>A <code>step</code> token used to indicate a link within a step indicator for a step-based process, where the link is visually styled to represent the current step.</li>
<li>A <code>location</code> token used to indicate the image that is visually highlighted as the current component of a flow chart.</li>
<li>A <code>date</code> token used to indicate the current date within a calendar.</li>
<li>A <code>time</code> token used to indicate the current time within a timetable.</li>
<li>A <code>page</code> token used to indicate a page within a set of pages, where the element is visually styled to represent the current page.</li>
<li>A <code>step</code> token used to indicate a step within a step-based process, where the element is visually styled to represent the current step.</li>
<li>A <code>location</code> token used to indicate the element that is visually styled as the current component, such as within a flow chart.</li>
cookiecrook marked this conversation as resolved.
Show resolved Hide resolved
<li>A <code>date</code> token used to indicate the current date within a calendar or other date collection.</li>
<li>A <code>time</code> token used to indicate the current time within a timetable or other time collection.</li>
</ul>
<p>Authors SHOULD only mark one element in a set of elements as current with <sref>aria-current</sref>.</p>
<p>Authors SHOULD NOT use the <sref>aria-current</sref> attribute as a substitute for <sref>aria-selected</sref> in widgets where <sref>aria-selected</sref> has the same meaning. For example, in a <rref>tablist</rref>, <sref>aria-selected</sref> is used on a <rref>tab</rref> to indicate the currently-displayed <rref>tabpanel</rref>.</p>
Expand Down