Trên trang này

Trang này chưa có bản tiếng Việt, nội dung bên dưới là bản tiếng Anh. Xem trang tiếng Anh

Pagination

What Pagination gives you and what your team does.

Conformance

Pagination meets WCAG 2.2 level AA when used as described on these pages.

Keyboard

  • Tab moves through the buttons; Enter or Space goes to that page.

What Pagination gives you

  • A nav named “pagination”.
  • aria-current="page" on the current page.
  • Named previous and next buttons.

What your team does

  • Move focus to the top of the list after the page changes, or announce the new range.

WCAG criteria

Criterion Level How
2.4.3 Focus Order A Your team moves focus to the new page of results
4.1.2 Name, Role, Value A Current page is exposed