WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: data table pagination - focus position?

for

From: Isabel Holdsworth
Date: Nov 12, 2018 5:12AM


Hi Diane,

This will work so long as the pagination generates a fresh set of rows
rather than adding to an existing set.

If you were adding to an existing set, the focus would definitely need
to be moved to the first new row.

Some SR users (like me) will prefer the focus to jump to the first row
in a new set, or the heading just before it, while others will prefer
that the focus stays on the pagination. Whichever you choose to do, as
long as you do it accessibly and consistently, your users will get
used to it very quickly.

Cheers, Isabel

On 09/11/2018, Tomlins Diane < <EMAIL REMOVED> > wrote:
> Isabel, that was my initial thought too, but I wasn't sure what would be
> better for those using screen readers. Using the prev/next function, when
> the next page of data is displayed, it does announce something like 'rows
> 6-10 of 234', so a screen reader user will definitely know that the data has
> changed. If using arrows or back-tabs or Shift+T to get to the new first
> record displayed is typical, then we will leave the focus where it is, at
> the pagination area.
>
> Thank you,
>
> Diane R Tomlins
> HCA IT&S | UXCOE
> Accessibility SME
>
>>I would either pop up an accessible toast telling users the new page number
>> ("Page 3 of 7"), or provide a heading with the same information just above
>> the table >and move the focus to the heading. And as a screenreader user
>> myself, I think I marginally prefer the second solution as it lines me up
>> for reading the new >records.
>
>>Cheers, Isabel
>
> > > > >