WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Meaningful Sequence in SPAs

for

From: Brian Lovely
Date: Apr 16, 2024 10:15AM


In an old-school website with multiple .html pages, does the browser back
button restore focus, or does it simply navigate to the previous page same
as any link would?

On Tue, Apr 16, 2024 at 11:15 AM <EMAIL REMOVED> <
<EMAIL REMOVED> > wrote:

> Restore Focus on Navigation Back: When users navigate back to a previously
> visited view (e.g., using the browser's back button), it is important to
> restore the focus to the element they interacted with last within that
> view. This could be a link, button, or another interactive element. This
> restoration improves the user experience by providing a seamless navigation
> experience.
> Dean Vasile
>
>
> 617-799-1162
>
> > On Apr 16, 2024, at 10:47 AM, Brian Lovely < <EMAIL REMOVED> >
> wrote:
> >
> >
> > My question is when changing views in a single-page application-style
> > website, how should focus be handled? I specify "website" to
> differentiate
> > from a single page application that is simply a series of form views.
> > > > >