Assumption: Next button is most clicked button in a pagination control.
The trap is to layout the HTML to match the design of the control. With the next button last and the previous button first.
By reformatting the HTML we can make things easier for everyone:
- Visual users still see the classic paging (CSS takes care of that);
- Tab focus for keyboard users is immidiately brought to next button, no need to tab over all pages;
- Screenreader users have the same benefit and also hear which page is currently active;
Any suggestions on what more we could improve?