RE: ACTION-1442: Draft spec text for aria-current and aria-currentfor

I’ve made a few updates to the draft text based on today’s discussions. I’ve
changed the examples to include one that isn’t link based, and have changed
the note to use the wiki use case Matt mentioned earlier because I think
it’s easier to understand.

 

Aria-current attribute 

 

Indicates the element that represents the current item within a container or
set of related elements. 

 

The aria-current attribute indicates whether an element represents what is
current (true), or not current (false). If the aria-current attribute is
false or undefined, the aria-current state of an element SHOULD not be
exposed by User Agents or assistive technologies.

 

The aria-current 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 it can be used to indicate a link within a set of navigation
links, where the link is visually styled to represent the currently
displayed page. It could also be used to indicate a link that is visually
styled to represent the current step in a process, or an image that is
visually highlighted as the current component of a flowchart.

 

Note:

The aria-current attribute is similar to the aria-selected attribute, but
there are important differences. For example, aria-current would be used to
identify the link representing the page currently displayed on the wiki,
whereas aria-selected would be used to indicate that the link had been
selected for an action (such as moving the page to another location.

 

Characteristics of aria-current 

Used in roles: All elements of the base markup. 

Value: true/false 

 

Values of aria-current 

true: The element is current. 

false (default): The element is not current 

 

Léonie.

 

-- 

Senior Accessibility Engineer, TPG

@LeonieWatson @PacielloGroup

 

Received on Wednesday, 19 November 2014 21:05:30 UTC