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

With thanks to input from Brian, an updated version of the proposed spec
text is below. Comments welcome…

 

Indicates the element that represents the current item within a container.

 

The aria-current attribute indicates whether the element is current (true),
or not current (false). If the aria-current attribute is false, the current
state of the element should not be conveyed by User Agents.

 

For example, aria-current may be used to indicate the current step in a
process, the current document within a collection, or the current date
within a calendar.

 

Note

The aria-current attribute is similar to the aria-selected attribute, but
there are important differences. the aria-selected attribute indicates the
selected state of children within certain widgets, whilst the aria-current
attribute indicates the current element within the scope of a container.

 

Characteristics of aria-current

Used in roles: : button, link, listitem, img.

Value: true/false/undefined

 

Values of aria-current

true: The element is current

false: The element is not current

undefined: The element cannot be current

 

Léonie.

 

-- 

Senior Accessibility Engineer, TPG

@LeonieWatson @PacielloGroup

 

From: Léonie Watson [mailto:LWatson@PacielloGroup.com] 
Sent: 22 September 2014 08:38
To: W3C WAI Protocols & Formats
Subject: ACTION-1442 Draft spec text for aria-current

 

This is a modified version of Brian’s original draft text for aria-current
[1]:

 

 

Indicates the current element within a navigation container.

 

The aria-current attribute indicates whether the element is current (true),
or not current (false). If the aria-current attribute is false, the current
state of the element should not be conveyed by User Agents.

 

For example, aria-current may be used to indicate the current step in a
process, or the current document within a collection.

 

Note

The aria-current attribute is similar to the aria-selected attribute, but
there are important differences. the aria-selected attribute indicates the
selected state of children within certain widgets, whilst the aria-current
attribute indicates the current element within the scope of a navigation
container.

 

Characteristics of aria-current

Used in roles: ?

Value: true/false/undefined

 

Values of aria-current

true: The element is current

false: The element is not current

undefined: The element cannot be current

 

 

The original draft text allowed aria-current to be used on all elements of
the base markup. I’m not sure this is the right approach, but equally I’m
not sure how best to constrain it in the spec text. I also feel that
"navigation container" is too vague a term to be practically useful. 

 

Thoughts on this, and the draft text as it stands, very welcome.

 

Léonie.

 

[1] https://www.w3.org/WAI/PF/Group/track/actions/1442

 

 

--

Léonie Watson – Senior Accessibility Engineer, TPG

@LeonieWatson @PacielloGroup

 

Received on Thursday, 16 October 2014 16:45:14 UTC