Modal dialogs on the New Tab Page allow keyboard to focus visually grayed out controls behind the dialog
Categories
(Firefox :: New Tab Page, defect, P3)
Tracking
()
People
(Reporter: cmuresan, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: access, Whiteboard: [hnt])
Attachments
(6 files)
Reporter | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Updated•5 years ago
|
Updated•2 years ago
|
Comment 2•1 year ago
•
|
||
The issue is still present in today's Firefox 120 Nightly: the keyboard focus is still leaving the modal dialog Edit shortcut
on the New Tab Page that is not an expected behavior for modal dialog pattern.
Another issue with the dialog is the lack of an accessible name for the dialog
container.
It looks like (per the gifs attached) that the original behavior was similar, just the focus would not even land on the dialog at first and the focus was likely passing through the background controls instead.
Comment 3•1 year ago
|
||
The focus of the keyboard should be restricted to the modal dialog until this dialog is dismissed. Then the focus should return to the triggering element. In this case, to the ...
control for the shortcut that was used to open the dialog.
Comment 4•1 year ago
|
||
The same issue applies to the Settings modal dialog on the New Tab.
These issues would cause a keyboard users to loose the keyboard focus (because it is barely seen when the rest of the page is grayed out) and not know what the position of their keyboard focus is, in fact. Also, it may cause users to activate some control by a mistake and spend time returning back to the previous page and location within the page, which would affect more users with limited mobility and users of alternative input devices such as switch controls etc.
Updated•1 year ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Comment 5•20 days ago
•
|
||
Steps to solve modals with this issue:
- Convert modal to use HNT reusable Modal component
- Implement the same focus trap method that was implemented on
TopicSelection.jsx
.
Comment 7•18 days ago
|
||
The same issue applies to the Personalize New Tab / Settings dialog
Description
•