Improve Content Blocking “Report Problem” doorhanger accessibility
Categories
(Firefox :: Protections UI, enhancement, P5)
Tracking
()
People
(Reporter: me, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
- Have content blocking turned on.
- Open the site info doorhanger (for bonus marks, use the keyboard for this and the next step).
- Click “Report a problem”.
- Press Tab repeatedly, to cycle through the available fields, in an effort to fill out details.
Actual results:
The tab order is this:
- Back button (‹)
- “Learn more” link
- Cancel button
- Submit button
Expected results:
-
The “What problems did you have?” field should be part of the tab order, between the “Learn more” link and the Cancel button.
-
The read-only, currently non-focusable should also arguably be focusable and in the tab order before it, given its styling and selectability, but that’s perhaps a different question.
-
The “What problems did you have?” field should be autofocused (no other field makes sense for that purpose).
-
Ctrl+Enter from the “What problems did you have?” field should preferably submit the form (this is a loose convention for multi-line text inputs).
-
Moving the mouse throws away the focused element, if it’s one of the elements in the current tab order and not the “What problems did you have?” field. (What is this thing doing with focus?)
-
The arrow keys are both completely broken in a super annoying way when the “What problems did you have?” field is focused, but that’s already the subject of bug 1489874.
Updated•7 years ago
|
Comment 1•7 years ago
|
||
I'm unable to reproduce most of this in the latest Nightly build. The tab order goes from the back button to the learn more link to the URL field to the What problem did you have field. Auto-focusing the What problem did you have field seems like the right thing to do though.
Updated•7 years ago
|
See bug 1539976, this was partially fixed by bug 1477673.
Comment 3•7 years ago
|
||
Yeah, I would say this is fixed to the extent that we can make the remaining items (3, 4, 5) a P5.
Updated•6 years ago
|
Updated•4 years ago
|
Description
•