Accessible names · 09
Concatenate a pagination name
The current page needs a complete name assembled from existing fragments without duplicate prose.
What to do
- Make page 2 compute to “Page 2 of 10”.
- Use aria-labelledby with three ID references in that order.
- Reference the button itself for “2” and do not duplicate the full phrase.
Result
Run the checks
Edit the HTML and select “Check solution”. The preview updates automatically.
If you are stuck
An aria-labelledby value can contain several IDs. Their accessible text is joined in the listed order.