WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Turbolinks / pushState

for

From: Alastair Campbell
Date: Jun 2, 2013 4:21PM


Chris Pearce wrote:

> The title (<title>) also gets updated along with the body according to the
> documentation. I wonder if I have to use 'aria-live' attr on the body
> element?


That probably wouldn't do what you expect, partly because the title isn't
in the body, and partly because user-agents currently expect live-regions
to be small portions of text.

Rather than that, it might be better to check that the keyboard focus is
updated appropriately. As Steve said, people generally expect that
selecting a link takes you to a new page. If it does something more
dynamic, then make sure the focus is moved to the top of the new area.

For example, if selecting a link opens a new area of content, move the
focus to the top of that content.

hth,

-Alastair