WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Tab Order and Focus Question

for

From: Isabel Holdsworth
Date: Mar 12, 2019 10:04AM


Hi Jim,

Yes, if an element has a tabindex, either assigned implicitly because
it's a natively interactive control such as a link or form control, or
a custom widget that's been given an explicit tabindex, then it can
receive focus.

Even elements with a tabindex of "-1" can received focus, although
only via scripting rather than using the Tab key.

Cheers, Isabel

On 12/03/2019, Jim Homme < <EMAIL REMOVED> > wrote:
> Hi,
> The Understanding 4.1.2 page at
> https://www.w3.org/WAI/WCAG21/Understanding/name-role-value talks about
> controls receiving focus. Since I'm a screen reader user, this may be a
> sighted question. It is possible to give tab order to items that are not
> controls. My question is: does that mean that these items receive focus if
> they are in the tab order?
>
> Thanks.
>
> Jim
>
>
>
> ==========
> Jim Homme
> Digital Accessibility
> Bender Consulting Services
> 412-787-8567
> https://www.benderconsult.com/our%20services/hightest-accessible-technology-solutions
>
> > > > >