Modal accessibility

Created on 16 February 2023, over 1 year ago
Updated 11 October 2023, about 1 year ago

Problem/Motivation

Focus is not set to the right element when modal window is closed. Only when using keyboard, mouse click works correctly. There are other accessibility issues as well.

Steps to reproduce

Open a ctools modal window. Navigate to close button using tab key. Press Enter and see that focus is not set on the link that opened the modal in the first place.

Proposed resolution

Add keydown event to close button.

📌 Task
Status

Needs review

Version

1.15

Component

Modal

Created by

🇪🇪Estonia ram4nd Tallinn

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

Comments & Activities

Production build 0.71.5 2024