Closed Bug 1152104 Opened 5 years ago Closed 5 years ago
'Learn more about DRM' context menu only working on click, not on enter or when accesskey pressed
Firefox Nightly 20150407 and Beta 20150406174117 The 'Learn more about DRM' context menu only works when clicked, not when the user presses Enter or when the accesskey gets pressed (the context menu only closes for these) browser-context.inc contains more elements with onclick handlers but these seem to work for enter and accesskey presses (e.g. 'View Image').
I don't really understand why this would be any different than the other onclick items which, as you noted, do work... however, time-constraint-wise maybe the best thing to do is to "just" add an extra oncommand listener and be done with (assuming that fixes things...).
Actually, looks to me like the other items with onclick handlers have oncommand or command attributes as well, so we should probably do the same.
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Iteration: --- → 40.1 - 13 Apr
Points: --- → 1
OS: Windows 8.1 → All
Hardware: x86 → All
Attachment #8589670 - Flags: review?(jaws) → review+
This feature is going to get some exposition. Tracking to make sure it is fixed before the release.
Comment on attachment 8589670 [details] [diff] [review] use command event and delegate clicks to it, Approval Request Comment [Feature/regressing bug #]: bug 1111147 [User impact if declined]: can't use keyboard to interact with the 'Learn More about DRM' item [Describe test coverage new/current, TreeHerder]: nope :-( [Risks and why]: very low, simple attribute change to bring the item in line with existing menuitems [String/UUID change made/needed]: nope
Comment on attachment 8589670 [details] [diff] [review] use command event and delegate clicks to it, Should be in 38 beta 4
You need to log in before you can comment on or make changes to this bug.