Closed
Bug 1467381
Opened 6 years ago
Closed 6 years ago
Keyboard shortcut empty for element with accesskey
Categories
(DevTools :: Accessibility Tools, defect)
DevTools
Accessibility Tools
Tracking
(firefox62 fixed)
RESOLVED
FIXED
Firefox 62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: Jamie, Assigned: yzen)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
5.67 KB,
patch
|
pbro
:
review+
|
Details | Diff | Splinter Review |
STR:
1. Open this URL:
data:text/html,<a href="foo" accesskey="f">foo</a>
2. Right click the link and select "Inspect Accessibility Properties".
3. Look at the keyboardShortcut property.
Actual: ""
Expected: "alt+shift+f" (or similar)
I think this occurs because Gecko a11y exposes two key bindings: Accessible::AccessKey and Accessible::KeyboardShortcut. The former is used for accesskey, where the latter is used for global shortcuts defined by XUL menu items, etc. IMO, for the purposes of the inspector's keyboardShortcut property, we should do what the Windows implementation does: try AccessKey first, and if that's empty, use KeyboardShortcut.
Updated•6 years ago
|
Product: Firefox → DevTools
Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Attachment #8985422 -
Flags: review?(pbrosset) → review+
Pushed by yura.zenevich@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/45a968a577b7
check Accessible::AccessKey and Accessible::KeyboardShortcut when filling up keyboardShortcut for accessible actor. r=pbro
Comment 3•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 62
Updated•6 years ago
|
Keywords: dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•