Close button is outside the focused element on dropdown open

Created on 27 November 2024, 22 days ago

Problem/Motivation

When opening a dropdown the dialog close button is outside the focused element, so it can be difficult to find using keyboard navigation.

Proposed resolution

Add a wrapper element inside the dialog which contains all other elements. Move the focus and aria-label from the scroll container to the wrapper.

Markup changes

A new div.multiselect-dropdown__wrapper element will be added to the default multiselect dropdown template. This element wraps all content of the <dialog>.

πŸ› Bug report
Status

Active

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States benabaird

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024