"Space" Key on Menulist Fails to Open Menupopup
Categories
(Toolkit :: UI Widgets, defect)
Tracking
()
| Accessibility Severity | s3 |
People
(Reporter: ilikprogramming, Unassigned)
Details
(Keywords: access)
Attachments
(1 file)
|
3.46 MB,
video/quicktime
|
Details |
Affected Version:
- Firefox 123.0.1 (64-bit)
Affected Platforms:
- MacOS 14.1 (23B2073)
Steps to Reproduce:
- Go to "about:preferences#home"
- Press "Tab" key to focus on "Firefox Home (Default)"
- Press "Enter" to attempt to expand the menu.
Actual Results:
- No response from the "Enter" key; the menu does not expand.
- Conversely, clicking with the mouse successfully reveals the dropdown menu.
Expected Results:
- Pressing "Enter" at Step 3 should trigger the dropdown expansion.
Comment 1•1 year ago
|
||
I was able to reproduce this issue on my machine macOS 13.2.1 using Fx 125.0b6, Fx 124.0 and the latest Nightly 126.0a1. I can't trigger the dropdown expansion with "Enter" key only if I use down arrow key.
Comment 2•1 year ago
|
||
Per WebAIM and W3C's documentation, and based on the behavior of the HTML <select> element (MDN), I don't think Enter should expand this <menulist> element, so I believe the current behavior is correct in that regard. The down arrow works correctly to activate the popup and show the available options.
However, the Space key should activate this element, and Space is currently not working for me in this instance--the page scrolls instead, as if the menulist wasn't focused. We might consider fixing that. Would you mind verifying this :ayeddi?
Guessing at a priority/severity; feel free to adjust if this is a higher severity a11y bug
Comment 4•1 year ago
|
||
(In reply to Cieara Meador [:cmkm] (she/her) from comment #2)
Per WebAIM and W3C's documentation, and based on the behavior of the HTML
<select>element (MDN), I don't think Enter should expand this<menulist>element, so I believe the current behavior is correct in that regard. The down arrow works correctly to activate the popup and show the available options.However, the Space key should activate this element, and Space is currently not working for me in this instance--the page scrolls instead, as if the
menulistwasn't focused. We might consider fixing that. Would you mind verifying this :ayeddi?
I've got the same results as you described, :Cieara. Tested with today's Nightly on macOS Sonoma 14.3.1 (23D60). It seems to be a component-wide issue with the XUL <menulist> across the UI, for example:
- In settings UI > General > Font > Size menulist
- In Bookmarks doorhanger on Location menulist
This is definitely a bug and would be a11y-severity=S3 if we're changing this ticket or opening a new one to address the Space key behavior of the <menulist> component.
Comment 5•1 year ago
|
||
Tested on Win11 and the issue with Space key on <menulist> is the same. Moving it to the Toolkit > UI Widgets, since it seems to be an issue with the keypress event handling of the Menulist widget.
Updated STR:
- Go to
about:preferences#home - Press
Tabkey to focus onFirefox Home (Default) - Press
Spaceto attempt to expand the menupopup and observe the behavior - Alternatively, Press
cmd/ctrl+Dto bookmark the page. Confirm theAdd Bookmarkpanel is opened - Navigate to the Bookmark panel and focus
Locationcombobox - Press
Spaceto attempt to expand the menupopup and observe the behavior
Actual Results:
- On the Settings UI, the page scrolls down when the
Spaceis pressed; the menupopup does not open. - On the Bookmarks bar, nothing happens; the menupopup does not open.
Expected Results:
- Pressing
Spacekey at Steps 3 and 6 opens the menupopup (similarly to whatDown Arrowdoes, when the combobox is opened).
Note: the behavior is as expected with the web content, i.e. on MDN <select> playground, WAI Tutorial, as well as on ARIA Combobox design pattern
Comment 6•1 year ago
|
||
Duping to bug 611402 which I moved to UI Widgets. This appears to have been the case for at least 15 years
Description
•