Aria-current attribute

From Level Access Web Labs
Revision as of 21:59, 6 June 2017 by Oedwards (talk | contribs) (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...)
Jump to navigation Jump to search

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

  • Apple
  • Banana
  • Orange

In the following list aria-current is set to step on eat

  1. open food
  2. cook food
  3. eat

aria-current is set to location on contact Main | Contact | Training

In the following list of dates aria-current is set to date on May 30

  • 01/01/2017
  • 05/30/2017
  • 12/31/2017

aria-current is set to time on 12:34

  • 12:33
  • 12:34
  • 12:35

Aria-current set to false

  • the world is flat

ARIA-current set to ssb

  • test

Notes

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.

Results

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.