WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Need your recommendation for pagination links

for

From: glen walker
Date: Sep 9, 2020 5:09PM


It's not ideal to move the focus from the number clicked on to "previous"
but it doesn't necessarily "affect meaning or operation" of the page, which
is required for 2.4.3, so personally I wouldn't fail it.

Ideally, leave the focus where it was. Click on '2', leave the focus on
'2'. However, that means '2' should remain clickable. That is, if you're
on page '3' and then you click on '2', the page updates showing the
contents of page 2 and the focus should remain on '2' and '2' should remain
clickable. It should not become text only or read only or disabled.
Trying to leave the focus on an element that is no longer interactive can
cause problems.

On Wed, Sep 9, 2020 at 1:49 PM dinesh tripathi via WebAIM-Forum <
<EMAIL REMOVED> > wrote:

> Hello All,
> There is a pagination component used in a data table of web page to pull
> up the list of data and display in data table. The Tab order reset back to
> the "Previous" link after clicking any other interactive control in
> pagination component.
> For example: There are "Previous, 1, 2 ,3, 4, 5,.....Next" pagination
> links available in a page. The tab focus moved to "Previous" link after
> user click any of the numbers of Next link.
> Does this behavior violate any WCAG SC?
> I am expecting to move Tab focus to 'link 3' instead of "Previous" link
> when I activate 'link 2' for consistent navigation.
> Also, Previous link should be read only when page 1 displayed by default.
> Thank you,DT
> > > > >