Closed Bug 1699292 Opened 5 years ago Closed 5 years ago

accesskeys in about:preferences seem to get "stuck" sometimes

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1699284

People

(Reporter: bytesized, Unassigned)

Details

STR:

  1. Determine the correct hotkey to use an accesskey on your platform using the docs. On my platform, Windows 10, the hotkey is Alt + Shift + <accesskey>.
  2. Open about:preferences
  3. Activate accesskey w.
  4. Activate accesskey s.

Expected results:
The control using access key s ("Restore previous session") should be activated

Actual results:
The control using access key w remains activated instead.

Summary: accesskeys seem to get "stuck" sometimes → accesskeys in about:preferences seem to get "stuck" sometimes

It depends on how accesskey be handled on XUL Element, the "Restore previous session" doesn't be activated because there is another label that uses the same accesskey.

Component: DOM: UI Events & Focus Handling → XUL

(In reply to Edgar Chen [:edgar] from comment #1)

It depends on how accesskey be handled on XUL Element, the "Restore previous session" doesn't be activated because there is another label that uses the same accesskey.

But for other duplicate accesskeys, we cycle through them. Is there a reason why that shouldn't happen in this case?

See Also: → 1699284

Okay, there are two things,

  1. "Restore previous session" doesn't be activated because there is another label using the same accesskey.
  2. If we can not activate the access key, we usually move the focus to the element, but the label is not focusable, so the focus doesn't cycle through it.
Severity: -- → S3
Component: XUL → DOM: UI Events & Focus Handling
Priority: -- → P3

The STR in comment #0 should be fixed by bug 1699284, Kirk, could you try the latest Nightly?

Flags: needinfo?(ksteuber)

I can no longer reproduce the bug. Thanks!

Flags: needinfo?(ksteuber)

Thanks for verifying.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
See Also: 1699284 →
You need to log in before you can comment on or make changes to this bug.