E-mail List Archives
Re: Jaws going to top of page when closing modal
From: Patrick H. Lauke
Date: Sep 26, 2019 10:35AM
- Next message: Christine Hogenkamp: "Re: WebAIM-Forum Digest, Vol 174, Issue 25"
- Previous message: Michael Ausbun: "Re: Jaws going to top of page when closing modal"
- Next message in Thread: Birkir R. Gunnarsson: "Re: Jaws going to top of page when closing modal"
- Previous message in Thread: Michael Ausbun: "Re: Jaws going to top of page when closing modal"
- View all messages in this Thread
On 26/09/2019 16:49, Barry Hill wrote:
> Why would Jaws with Chrome throw the user back to the top of a page when
> closing a modal on a web page?
Because once the modal dialog is closed, focus isn't programmatically
set back to the most sensible location of the page (usually, the control
that first opened the modal). So when the modal disappears, the element
that currently had focus also vanished, so focus is reset back to the
start of the document.
In short, a coding issue.
P
--
Patrick H. Lauke
www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke
- Next message: Christine Hogenkamp: "Re: WebAIM-Forum Digest, Vol 174, Issue 25"
- Previous message: Michael Ausbun: "Re: Jaws going to top of page when closing modal"
- Next message in Thread: Birkir R. Gunnarsson: "Re: Jaws going to top of page when closing modal"
- Previous message in Thread: Michael Ausbun: "Re: Jaws going to top of page when closing modal"
- View all messages in this Thread