Pagination dots for carousels and steppers. Each dot is a native button; the active
one carries aria-current and clicking a dot fires a
change event.
current is the zero-based active page.
total sets the number of dots.
Click a dot — the active state moves and a change
event fires with the new index.
carousels, onboarding steppers, and any short sequence of pages where a compact position indicator helps. For numbered table pagination, use the Table footer instead.
label for context.role="group" of native <button> dots (the WAI-ARIA carousel slide-picker pattern), labelled by label.aria-current="true" — colour isn’t the only cue.disabled removes them from the tab order.