RE: PFWG-ACTION-1548: Write revised proposal for aria-current based on today’s meeting for issue 587

Looks good to me. I would like to suggest one change though, where combobox is mentioned in the aria-selected example, I'd recommend changing this to listbox, since it is likely to be confused with the combobox role, which is typically controlled using aria-activedescendant and not aria-selected.

Such as:

The aria-current attribute is similar to the aria-selected attribute, but there are important differences. For example, in a listbox widget for choosing between pages of search results, aria-current would be used to indicate the option representing the currently displayed page of results, Whereas aria-selected would be used to indicate the page of results the user had selected to be displayed next.

-----Original Message-----
From: Léonie Watson [mailto:lwatson@paciellogroup.com] 
Sent: Sunday, January 11, 2015 6:52 AM
To: lwatson@paciellogroup.com; Bryan Garaventa; 'Protocols and Formats Working Group'
Subject: RE: PFWG-ACTION-1548: Write revised proposal for aria-current based on today’s meeting for issue 587

Amended draft based on feedback from Bryan and Birkir...

Aria-current attribute 

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

The aria-current attribute is an enumerated type. Any value not included in the list of allowed values must be treated by user agents as if the value true had been provided. If the attribute is not present or its value is an empty string, the default value of false applies and the aria-current state must 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:

The page token can be used to indicate a link within a set of pagination links, where the link is visually styled to represent the currently displayed page.
The step token can be used to indicate a link within a step indicator, where the link is visually styled to represent the current step.
The location token can be used to indicate the image that is visually highlighted as the current component of a flowchart.
The date token can be used to indicate the current date within a calendar.
The time token can be used to indicate the current time within a timetable.

Note:
The aria-current attribute is similar to the aria-selected attribute, but there are important differences. For example in a combobox widget for choosing between pages of search results, aria-current would be used to indicate the option representing the currently displayed page of results, Whereas aria-selected would be used to indicate the page of results the user had selected to be displayed next.

Characteristics of aria-current 
Used in roles: All elements of the base markup. 
Value: token
values of aria-current:
page = Represents the current page within a set of pages.
step = Represents the current step within a process.
location = Represents the current location within an environment or context.
date = Represents the current date within a collection of dates.
time = Represents the current time within a set of times.
true = Represents a current item within a set.
false = Default.

Léonie.

-- 
Senior Accessibility Engineer, TPG
@LeonieWatson @PacielloGroup

Received on Monday, 12 January 2015 02:20:47 UTC