Ronalds Vilciņš

Using the aria-current attribute

The aria-current attribute should be used to identify the current item in a set of items. It can take multiple values, specifically: page, step, location, date, time, false, true.

/* Indicates the current page */
<a href="/home" aria-current="page">Home</a>

This site is ad-free and doesn’t use trackers. If you’d like to support my writing, I’d love if you could buy me a coffee.