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:
A page token used to indicate a link within a set of pagination links, where the link is visually styled to represent the currently-displayed page.
A step token used to indicate a link within a step indicator for a step-based process, where the link is visually styled to represent the current step.
A location token used to indicate the image that is visually highlighted as the current component of a flow chart.
A date token used to indicate the current date within a calendar.
A time token used to indicate the current time within a timetable.
Shouldn't this be documented?
Also, shouldn't this be part of QA styles?
Authors SHOULD only mark one element in a set of elements as current with aria-current.
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:
page
token used to indicate a link within a set of pagination links, where the link is visually styled to represent the currently-displayed page.step
token used to indicate a link within a step indicator for a step-based process, where the link is visually styled to represent the current step.location
token used to indicate the image that is visually highlighted as the current component of a flow chart.date
token used to indicate the current date within a calendar.time
token used to indicate the current time within a timetable.Shouldn't this be documented?
Also, shouldn't this be part of QA styles?