Select2 search box is not keyboard accessible

Created on 16 February 2023, over 1 year ago

Problem/Motivation

When interacting with a Select element that uses Select2, the search input box is not keyboard accessible.

This is a known issue with select2 that has been a thing since jquery 3.6.0 was released in 2021: https://github.com/select2/select2/issues/5993

Steps to reproduce

1) Create a webform with a select list
2) Enable select2 option for the select list
3) View the webform and interact with the select2 element with keyboard - The search input box is unable to be focused to.

I have also provided a sample webform config export.

Proposed resolution

Apply some workaround javascript based on the solutions offered in the select2 issue

Remaining tasks

TBD

User interface changes

TBD

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Closed: won't fix

Version

6.1

Component

Accessibility

Created by

πŸ‡ΊπŸ‡ΈUnited States kyleleber

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024