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

Looks good to me, however the following is unclear:

"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."

This implies two functions for false, which seems to state that false should be conveyed as 'not current' as well as ignored by user agents at the same time. Since the value of false should be different from undefined, the following is clearer:

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


From: Léonie Watson [mailto:LWatson@PacielloGroup.com]
Sent: Thursday, November 06, 2014 10:36 AM
To: public-pfwg@w3.org
Subject: ACTION-1442: Draft spec text for aria-current and aria-currentfor

Comments welcome...


1.       Aria-current attribute

Indicates the element that represents the current item with a navigation container in its ancestry.

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 the aria-current attribute may be used to indicate the current document in a collection or the current step in a process.

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


2.       Aria-currentfor attribute

Identifies the element that is the container for an element with aria-current.

For example the aria-currentfor attribute may be used to indicate the containing grid of a calendar widget, where the current date is indicated with aria-current.

Characteristics of aria-currentfor
Used in roles: : All elements of the base markup
Value: ID reference

--
Senior Accessibility Engineer, TPG
@LeonieWatson @PacielloGroup

Received on Thursday, 6 November 2014 21:12:32 UTC