shibro
Show the version of “Pagination says where you are and never ends in an ellipsis”

Search and navigation · SU-352

Pagination says where you are and never ends in an ellipsis

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Page links 5 is darker blue · 32px
  • Page links 1 … 4 [5] 6 … 20
  • Position Page 5 of 20
  • Series end ellipsis, no Next
  • Ends Previous + Next · 40px

What changes

Bad
Pages 1 to 9 then a trailing “…”, no Next, and page 5 marked only by a darker blue in 32px targets.
Good
‹ Previous, 1 … 4 [5] 6 … 20 and Next › in 40px controls, page 5 filled, with Page 5 of 20 under the row.

The rules

  • SU-352

    Pagination controls never end in an ellipsis and say where you are. Show the first page, the last page, the current page and one or two neighbours, with an ellipsis only between numbers. Mark the current page with a fill and aria-current="page", keep Previous and Next at both ends, and put the page in the page title ("Page 5 of 20"). On phones collapse to Previous, "Page 5 of 20" and Next at 44px.