StackExchange/Stacks

Pagination missing aria-current label

shainanigans opened this issue · 0 comments

Describe the bug
In components like pagination, an aria-current attribute is required to indicate to screen reader users which page is currently active.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Pagination example
  2. Use a screen reader of your choosing to listen to the announcement of the example component
  3. Note that the currently selected page is not announced as such

Expected behavior
The currently selected page (which gets the is-selected CSS class) should be announced.