Investigate if accesskeys should be handled when element is in a shadow dom bound to in-doc shadow host
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: smaug, Assigned: edgar)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Comment 1•7 years ago
|
||
Please support this
Why should accesskey not work within shadow dom. If the UI is usable (i.e. is keyboard controlable) then the use should not know (or care) whether the elements live in shadow dom or normal dom, thus IMO accesskey should be supported since it is supported in normal dom (and can be very useful in web apps since it may save lots of tabbing). It is also a very simple way of attaching a keyboard shortcut to an element!
Comment 2•7 years ago
|
||
Updated•6 years ago
|
Comment 3•6 years ago
|
||
This is tracked by https://github.com/whatwg/html/issues/4385 standards-wise and per bug 1588156 comment 2 this is problematic for about:addons. The tentative outcome from the standards discussion is that accesskey should work across tree boundaries.
Hsin-Yi, can you find someone to take this?
Comment 4•6 years ago
|
||
(In reply to Anne (:annevk) from comment #3)
This is tracked by https://github.com/whatwg/html/issues/4385 standards-wise and per bug 1588156 comment 2 this is problematic for about:addons. The tentative outcome from the standards discussion is that accesskey should work across tree boundaries.
Hsin-Yi, can you find someone to take this?
Sure, though we probably wouldn't get it to Q4 but put it the queue to prioritize.
Reporter | ||
Comment 5•6 years ago
•
|
||
Some relevant code for this https://searchfox.org/mozilla-central/rev/088e2cf29c59d733d57af43903eb0267dbf72e2a/dom/html/nsGenericHTMLElement.cpp#379-380,404-405
https://searchfox.org/mozilla-central/rev/088e2cf29c59d733d57af43903eb0267dbf72e2a/dom/html/nsGenericHTMLElement.cpp#379-380,404-405,532
Might need to tweak some EventStateManager code too, depends on what the spec will look like.
Assignee | ||
Comment 6•4 years ago
|
||
Assignee | ||
Comment 7•4 years ago
|
||
This is tracked by https://github.com/whatwg/html/issues/4385 standards-wise and
the tentative outcome from the standards discussion is that accesskey should work
across tree boundaries.
Depends on D110425
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 8•4 years ago
|
||
Comment 11•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/36d3002f77b6
https://hg.mozilla.org/mozilla-central/rev/8bfe6426b2de
Description
•