Cannot expand tree using just a keyboard

Created on 17 April 2023, about 1 year ago

Problem/Motivation

I noticed when trying to use the keyboard and tabbing to the field that uses the widget, I could not navigate to the button.

Proposed resolution

Adding tabindex="0" will allow you to navigate to the button but because it is a div you have to then handle a keypress. I think we can bind to the "Enter" key which is similar to how fieldsets expand. Ideally the button is not a div but that is a larger problem to fix.

I will submit a patch with the tabindex and keypress event handler as the suggested approach.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dmundra Eugene, OR

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024