Open Bug 1525205 Opened 7 years ago Updated 4 years ago

Improve Content Blocking “Report Problem” doorhanger accessibility

Categories

(Firefox :: Protections UI, enhancement, P5)

67 Branch
enhancement

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:

  1. Have content blocking turned on.
  2. Open the site info doorhanger (for bonus marks, use the keyboard for this and the next step).
  3. Click “Report a problem”.
  4. Press Tab repeatedly, to cycle through the available fields, in an effort to fill out details.

Actual results:

The tab order is this:

  1. Back button (‹)
  2. “Learn more” link
  3. Cancel button
  4. Submit button

Expected results:

  1. The “What problems did you have?” field should be part of the tab order, between the “Learn more” link and the Cancel button.

  2. 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.

  3. The “What problems did you have?” field should be autofocused (no other field makes sense for that purpose).

  4. 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).

  5. 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?)

  6. 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.

Component: Untriaged → Disability Access

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.

Component: Disability Access → Keyboard Navigation
Component: Keyboard Navigation → Site Identity and Permission Panels

See bug 1539976, this was partially fixed by bug 1477673.

Yeah, I would say this is fixed to the extent that we can make the remaining items (3, 4, 5) a P5.

Status: UNCONFIRMED → NEW
Type: defect → enhancement
Ever confirmed: true
Priority: -- → P5
Summary: The Content Blocking “Report Problem” doorhanger is inaccessible by keyboard → Improve Content Blocking “Report Problem” doorhanger accessibility
Component: Site Identity → Protections UI
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.