aria-current test case

The aria-current attribute indicates the element that represents the current item within a container or set of related elements. It is an enumerated type attribute that takes one of a number of predefined tokens ("page", "step", "location", "date" or "time"), or which may be set to "true".

aria-current="true"

Screen readers should announce "Current" to indicate the first link is the current link in the set.

aria-current="page"

Screen readers should announce "Current page" to indicate the first link is the current page in the navigation.

aria-current="step"

Screen readers should announce "Current step" to indicate the first link is the current step in the process.

  1. Do this
  2. Do that
  3. Do the other

aria-current="location"

Screen readers should announce "Current location" to indicate the last link is the current location in the breadcrumb navigation.

aria-current="date"

Screen readers should announce "Current date" to indicate that Saturday 16th is the current date in the month.

July 2016
MonTueWedThuFriSatSun
123
45678910
11121314151617
1819202121222324
25262728293031

aria-current="time"

Screen readers should announce "Current time" to indicate the keynote is happening at the current time in the schedule.