If the pagination numbers are truncated (hiding those after 1 or before the last), when a user clicks through each of the numbers in the center, since the numbers that are actually being displayed are changing, the focus stays on the correct button via index but not display. This can cause confusion and will actually be wrong for keyboard users.

If the pagination numbers are truncated (hiding those after 1 or before the last), when a user clicks through each of the numbers in the center, since the numbers that are actually being displayed are changing, the focus stays on the correct button via index but not display. This can cause confusion and will actually be wrong for keyboard users.