shadcn Pagination, Maia preset, on Evantis buttons. Moves through a long list a page at a time: visit notes, the medication log, dose history. Every page is a real link; the current one says so to screen readers.
Demo
Previous and Next are secondary SM link buttons, as the Data table pager, written as is.
Next carries its arrow on the right because it goes somewhere; Previous points back from the left.
The current page is the one filled button and carries aria-current="page".
Skipped pages show a dots glyph that screen readers hear as "More pages".
Simple
Page numbers only, for a list short enough to show every page.
Each number is named "Page N" for screen readers.
Icons only
Icon-only buttons need a name: Previous and Next.
Rows per page has a visible label tied to the select.