@@ -11104,11 +11104,11 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
|
11104 | 11104 | <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> |
11105 | 11105 | <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> |
11106 | 11106 | <ul> |
11107 | | -<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> |
11108 | | -<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> |
11109 | | -<li>A <code>location</code> token used to indicate the image that is visually highlighted as the current component of a flow chart.</li> |
11110 | | -<li>A <code>date</code> token used to indicate the current date within a calendar.</li> |
11111 | | -<li>A <code>time</code> token used to indicate the current time within a timetable.</li> |
| 11107 | +<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> |
| 11108 | +<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> |
| 11109 | +<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> |
| 11110 | +<li>A <code>date</code> token used to indicate the current date within a calendar or other date collection.</li> |
| 11111 | +<li>A <code>time</code> token used to indicate the current time within a timetable or other time collection.</li> |
11112 | 11112 | </ul> |
11113 | 11113 | <p>Authors SHOULD only mark one element in a set of elements as current with <sref>aria-current</sref>.</p> |
11114 | 11114 | <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> |
|