Skip to content

Find what you need, instantly

Search components, ARIA roles & attributes, and WCAG criteria.

All attributes

aria-posinset

Integer

Gives an item's position within its set — item 3 of a list, say — when the full set isn't all present in the DOM, as with a virtualized or paged list. It's paired with aria-setsize so screen readers can announce '3 of 20'. You only need it when the DOM doesn't already reflect the true positions.

Value
Any integer.
Used on
<li><option>
Example
aria-posinset="…"
<li role="option" aria-posinset="3" aria-setsize="12">…</li>