Skip to content

Find what you need, instantly

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

All attributes

aria-setsize

Integer

Declares the total number of items in a set even when only some are in the DOM, as with lazy-loaded or virtualized lists. Combined with aria-posinset it lets screen readers announce an item's place, like '3 of 100'. A value of -1 indicates the total size is unknown.

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