WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Accordion vs WCAG SCs

for

Number of posts in this thread: 4 (In chronological order)

From: Vaibhav Saraf
Date: Fri, Jul 31 2020 6:21AM
Subject: Accordion vs WCAG SCs
No previous message | Next message →

Hi Folks,

One of my friends has wrongly implemented an accordion.

He wanted to implement an 'Open Search Box' button, which on activation
will give way to a 'Search box' and 'Submit' button.

Due to mishandling of tab-index property the search box and submit button
are always keyboard focusable even when they are invisible to sighted user.

I was thinking which WCAG 2.0 SCs this will fail under? I can think of
2.4.7 Visible focus as the focus in getting lost, but couldn't decide. This
doesn't looks to be a trap as the focus will return upon 2 tabs. Neither
have enough constructs for visible focus violation.

Any comments?

Thanks,
Vaibhav

From: Patrick H. Lauke
Date: Fri, Jul 31 2020 6:42AM
Subject: Re: Accordion vs WCAG SCs
← Previous message | Next message →

On 31/07/2020 13:21, Vaibhav Saraf wrote:
> Hi Folks,
>
> One of my friends has wrongly implemented an accordion.
>
> He wanted to implement an 'Open Search Box' button, which on activation
> will give way to a 'Search box' and 'Submit' button.
>
> Due to mishandling of tab-index property the search box and submit button
> are always keyboard focusable even when they are invisible to sighted user.
>
> I was thinking which WCAG 2.0 SCs this will fail under? I can think of
> 2.4.7 Visible focus as the focus in getting lost, but couldn't decide. This
> doesn't looks to be a trap as the focus will return upon 2 tabs. Neither
> have enough constructs for visible focus violation.

I usually fail this sort of thing under both 2.4.3 Focus Order (as
things that shouldn't be focusable, at that moment at least, receive
focus/are in the focus order incorrectly) and 2.4.7 Focus Visible (as
the focus disappears)

P
--
Patrick H. Lauke

https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke

From: Laura Fathauer
Date: Fri, Jul 31 2020 6:55AM
Subject: Re: Accordion vs WCAG SCs
← Previous message | Next message →

> I usually fail this sort of thing under both 2.4.3 Focus Order (as
> things that shouldn't be focusable, at that moment at least, receive
> focus/are in the focus order incorrectly) and 2.4.7 Focus Visible (as
> the focus disappears)

Same here.

Laura

From: Vaibhav Saraf
Date: Fri, Jul 31 2020 10:13AM
Subject: Re: Accordion vs WCAG SCs
← Previous message | No next message

Alright.

Thanks!

On Fri, 31 Jul 2020 at 18:26, Laura Fathauer < = EMAIL ADDRESS REMOVED = > wrote:

> > I usually fail this sort of thing under both 2.4.3 Focus Order (as
> > things that shouldn't be focusable, at that moment at least, receive
> > focus/are in the focus order incorrectly) and 2.4.7 Focus Visible (as
> > the focus disappears)
>
> Same here.
>
> Laura
> > > > >