Is the escape key sufficient as a method for WCAG 2.1.2 No Keyboard Trap

I'm dealing with a combobox that presents a list of options 
(role=listbox) after the user types a few characters.

Once the listbox is present, if the user tabs, focus moves through each 
item. Once reaching the end of the visible list, focus cycles through 
the list from the beginning. The user can not escape the listbox via tab 
or arrows.

The user can escape the component via the escape key (collapses the 
listbox and the user can continue tabbing through the page) or by 
deleting the text entered into the input.

Is this sufficient to pass 2.1.2 No keyboard trap? I would argue that 
the escape key meets the "other standard exit method" part of the SC.

Thanks in advance!

Greg

Received on Monday, 12 December 2022 22:52:18 UTC