Open Bug 1346755 Opened 7 years ago Updated 2 years ago

Browser keyboard shortcuts can be hijacked by some web applications

Categories

(Firefox :: Keyboard Navigation, enhancement)

52 Branch
enhancement

Tracking

()

People

(Reporter: julien.pierre, Unassigned)

Details

If you have the menu bar visible, normally, holding Alt + F brings up the file menu.

Much to my dismay, when browsing any Youtube video page, Alt + F caused it to go fullscreen instead. Actually, if you look very carefully, it brings up the file menu bar, and then immediately maximizes the window also.

It looks like Youtube has chosen the ALT-F combination for the full screen feature.

IMO, the browser should not allow applications to hijack the built-in keyboard shortcuts, such as ALT-F.  ALT + F should always bring up the File menu within Firefox, and should not trigger any function .

Ran into something similar - a CMS had hijacked (due to a bug) the Ctrl+Tab keyboard shortcut. There really should be a way to prevent web content from hijacking already-assigned chrome keyboard events.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.