Skip to main content
WCAGrules
Quick navigation

Mark the current page with aria-current

aria-current marks the one item in a set that is current. page for the nav link you are on, step for a checkout stage, date or time for a calendar cell, or a plain true where nothing more specific fits. W3C lists it as sufficient for 1.3.1 Info and Relationships, and as sufficient for the AAA rule about telling people where they are within a site. The scoping is a parity argument and the test states it plainly. Where one item in a set is visually highlighted to show it is current, that item needs aria-current. If nothing is highlighted, nothing is being communicated visually either and there is nothing to match. Only one item in a set carries it at a time, which is the whole meaning of the word.

How we find it in an audit

The attribute and its allowed values are automated finds, including more than one page value inside a single navigation block. The judgment is the parity check. We look for every place the design highlights a current item, then check whether the markup says the same thing.

How affected users experience it

A highlighted nav link is instant for a sighted visitor and invisible by ear. Without aria-current the menu reads Home, link, Pricing, link, Support, link, with no sign that Pricing is where they are standing. A person can end up following a link to the page they were already on, which tells them nothing except that the site is confusing.

Passes vs. fails

Passes: name, role, and state exposed. Fails: a control with no identity.

Passes

<a class="nav-active" aria-current="page" href="/pricing">Pricing</a>

Fails

<a class="nav-active" href="/pricing">Pricing</a>

How this gets tested

The W3C publishes test rules that define what a checker looks for here.

Other ways to satisfy this rule

52 guides on this site are filed under 1.3.1 Info and Relationships. W3C lists this one as sufficient for that rule when used for making information and relationships conveyed through presentation programmatically determinable, so the condition is part of the test rather than a footnote to it.

This guide is our interpretation of W3C technique ARIA26: Using aria-current to identify the current item in a set. W3C publishes its techniques as guidance rather than as the standard, and says so on every one of them. The success criterion is what conformance is measured against, and a technique is one documented way to meet it.

Go somewhere useful

Find tools, resources and your workspace.

29 destinations