Difference between revisions of "Aria-current attribute"
m (Owen Edwards moved page Aria-current property to Aria-current attribute: Per Roy and https://www.w3.org/TR/wai-aria/states_and_properties#statevsprop, aria-current is a _state_, not a _property_. To avoid argument, use the more generic "attribu...)
Revision as of 21:59, 6 June 2017
In the below list Aria-current is set to page on the second link.
In the below list Aria-current is set to true on Banana
In the following list aria-current is set to step on eat
- open food
- cook food
In the following list of dates aria-current is set to date on May 30
aria-current is set to time on 12:34
Aria-current set to false
- the world is flat
ARIA-current set to ssb
False is the default if ARIA current is not set. This is not announced by AT and is the expected result. If ARIA-current is set to anything but one of the values listed in the ARIA 1.1 specification then then it is treated as being set to true. (see the SSB example above) ARIA-current cannot replace ARIA-selected In this example a red color is used to show visually where ARIA-current is Applied. This includes the ARIA-false example.
JAWS 18 announces the ARIA-current State as expected. For example 12:34 current time. This is in Internet Explorer, FireFox, and chrome. The ARIA-current state is not shown in Braille and in the links list a link with ARIA-current is displayed as unavailable. NVDA 2017.2 announces the ARIA-current State as expected. For example 12:34 current time. This is in Internet Explorer, FireFox, and chrome. In iOS 10.3.2 the Aria-current state is announced on links but not list items.