aria-current attribute | ariaCurrent property

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Represents the current element within a container or set or related elements. Used when an element within a set of related elements is visually styled to indicate that it's the current item in a set.

Syntax


<element aria-current="..." ... />

Property values

Type: String

ValueCondition
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 the current item within a set.

false

Default. Does not represent the current item within a set.

 

Remarks

Used in Roles
All elements

 

 

 

Show: