WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Using multiple checkboxes that amount to a keyboard trap or any other WCAG success criteria failure?

for

From: Steve Green
Date: Jul 14, 2020 3:22AM


Wing was being tactful, but the scenario is not hypothetical - one of our clients actually built a page containing more than 1000 checkboxes. Furthermore, they put them into an accordion, which means you can only ever see 6 of them at any time, so you have no idea how many there are.

I mention this just in case anyone was thinking "no one would ever do that".

Steve Green
Managing Director
Test Partners Ltd


-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Patrick H. Lauke
Sent: 14 July 2020 09:34
To: <EMAIL REMOVED>
Subject: Re: [WebAIM] Using multiple checkboxes that amount to a keyboard trap or any other WCAG success criteria failure?

On 14/07/2020 08:28, Wing Kuet wrote:
> Hypothetically if there is a web page with form that includes over say over 1000 checkboxes would this amount to a Keyboard trap fail or any WCAG success criteria failure? Does anyone have a view of this? Would the act of having to navigate through too many checkboxes be considered a failure of the keyboard trap because of the potential of the user giving up and not wanting to navigate through all those checkboxes?

Purely from a WCAG perspective, this would not be a failure of 2.1.2 No Keyboard Trap per se, as focus can be moved away from each checkbox.

If those checkboxes are repeated across multiple pages, this may be a failure of 2.4.1 Bypass Blocks. But if this large number of checkboxes only occurs on a single page, even that SC would not really apply.

This feels more like a "usability for keyboard users" problem, not directly addressed by WCAG just now.

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