Open Bug 1725233 Opened 3 years ago Updated 3 years ago

Alt+Left to go back should not be intercept-able by the webpage

Categories

(Firefox :: Keyboard Navigation, defect)

Firefox 90
defect

Tracking

()

Tracking Status
firefox91 --- affected
firefox92 --- affected
firefox93 --- affected

People

(Reporter: samlh+bz2, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0

Steps to reproduce:

Open a webpage with a keyboard listener that calls event.preventDefault()
Try to go back by pressing Alt+Left

Can be tested with:

Actual results:

The browser does not navigate to the previous page

This stopped working sometime within the last few releases, and it has been bugging me since.

Expected results:

The browser should navigate to the previous page

Attached file about:support

Also, Ctrl+L to focus the address bar should also not be interceptable by the website.

Happily, Ctrl+Tab or Ctrl+W can let you escape such a page using the keyboard, but I've been hitting this even on non-malicious pages that don't check the Alt key modifier before handling the arrow keys.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: UI Events & Focus Handling' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → DOM: UI Events & Focus Handling
Product: Firefox → Core

This behavior seems to be defined in the frontend, not in https://searchfox.org/mozilla-central/source/dom/events/ShortcutKeyDefinitions.cpp

Component: DOM: UI Events & Focus Handling → General
Product: Core → Firefox

Hi,
thank you for taking the time to submit this bug report.
I was able to reproduce on Windows 10, on Firefox Nightly 93.0a1 (2021-08-23) (64-bit) and Release 91.0.1 (64-bit) versions. Based on this I will mark respective flags as affected and set the severity.

I set the component in order to get the dev team involved, but if it's not relevant,
'Firefox-Keyboard Navigation' team, please feel free to change the component if this is not the appropriate one.

Regards,
Jerónimo.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: General → Keyboard Navigation
Ever confirmed: true

Change the status for beta to have the same as nightly and release.
For more information, please visit auto_nag documentation.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: