E-mail List Archives
Re: Jquery.focus() and screen reader
From: Patrick H. Lauke
Date: Aug 16, 2017 10:01AM
- Next message: JP Jamous: "Re: Jquery.focus() and screen reader"
- Previous message: Patrick H. Lauke: "Re: Jquery.focus() and screen reader"
- Next message in Thread: JP Jamous: "Re: Jquery.focus() and screen reader"
- Previous message in Thread: Patrick H. Lauke: "Re: Jquery.focus() and screen reader"
- View all messages in this Thread
On 16/08/2017 17:00, Patrick H. Lauke wrote:
> Don't set tabindex=0 on non-interactive elements, as otherwise they'll
> fall into the regular keyboard focus cycle.
sorry, missed out the second part of my thought: set it to tabindex="-1"
which means "programmatically focusable (e.g. via JS), but not in the
regular focus order"
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: JP Jamous: "Re: Jquery.focus() and screen reader"
- Previous message: Patrick H. Lauke: "Re: Jquery.focus() and screen reader"
- Next message in Thread: JP Jamous: "Re: Jquery.focus() and screen reader"
- Previous message in Thread: Patrick H. Lauke: "Re: Jquery.focus() and screen reader"
- View all messages in this Thread