Closed Bug 1623923 Opened 5 years ago Closed 1 year ago

Can't use the Tab key to cycle through options in modal dialogs

Categories

(Core :: Widget: Gtk, defect)

Desktop
Linux
defect

Tracking

()

RESOLVED INACTIVE
Tracking Status
firefox75 --- affected
firefox76 --- affected

People

(Reporter: muirpablo, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: steps-wanted)

Attachments

(3 files)

157.24 KB, image/png
Details
79.56 KB, image/png
Details
133.09 KB, image/png
Details

Affected Versions:
Nightly 76.0a1
Beta 75.0b3

Tested on
Windows 10 x64 (not affected)
Ubuntu 18.04 x64 (affected)
MacOS 10.13 (affected)

Steps to reproduce

  • Launch Firefox
  • Enter ""cache firefox"" in megabar
  • Click ""choose what to clear""
  • Press TAB key in ""clear recent history menu"

or

  • Launch Firefox
  • Enter ""update firefox"" in megabar
  • Click ""refresh firefox""
  • Press TAB key to select ""refresh firefox button"

Actual Result:
only one button has focus after pressing tab key, the other button does not focus

Expected result
button should be focused after hitting TAB

Blocks: 1606912
Component: Search → Address Bar

If I'm reading this bug correctly, the Tab key can still be used to navigate to an Intervention, but it doesn't work in the modal dialogs that they open. In that case, this bug is not really about Urlbar Interventions but more about accessibility in our modal dialogs, specifically the Clear Recent History and Refresh Firefox dialogs. Sorry to our triagers to kick this over to Firefox::General, but I'm not sure which component tracks these modals.

Marco, I'm needinfo'ing you to see if this is a known issue that is maybe being tracked in another bug? A search didn't turn anything up, but I thought I'd check.

Component: Address Bar → General
Flags: needinfo?(mzehe)
Summary: Search Interventions: Unable to use TAB key → Can't use the Tab key to cycle through options in modal dialogs

I just tested this on Windows and Linux and tab appears to work fine in these dialogs. It doesn't appear to work on macOS though, regardless of whether they were opened through an intervention or through the menu bar. Keeping the ni for Marco: is this a known issue? Can you reproduce?

OS: All → macOS

This is the peculiar behavior of MacOS prior to Catalina where the tab key by default only focuses editable controls. There is a setting in System Preferences/Keyboard which controls this. Catalina did away with it. Firefox tries to be a good citizen and honors this system setting. Other browsers don't.

Flags: needinfo?(mzehe)

Per https://bugzilla.mozilla.org/show_bug.cgi?id=1587962#c0 this preference still exists in catalina. Blake tried this and toggling it allows for the expected results. So it sounds like this is working as expected.

Reporter, are you able to reproduce this issue on Ubuntu (as comment #0 suggests)? That'd be a bit surprising - can you clarify what desktop environment you're using and/or if there are any similar settings on it?

Flags: needinfo?(pablo.muir)
Attached image tab key
Flags: needinfo?(pablo.muir)
Attached image 2.png
Attached image 3.png

Hi Gijs

I am able to reproduce this on Ubundu 18.04 64bit, the cancel button gets focused but when you hit tab the clear now button does not get focus.
As for settings inside Ubuntu, im not really sure if ubuntu has one like MacOs, i tried searching but i can´t find it.

I can't reproduce on Ubuntu, unfortunately.

Do you see the same thing if you open these two dialogs in other ways? The first one can be opened via the "History" menu (press alt-s in an English version), then "Clear recent history", the second by going to about:support, then clicking "Refresh Firefox..."

Flags: needinfo?(pablo.muir)
Keywords: steps-wanted

Hi Gijs

-With Alt-S i get the clear recent history menu, and i can see that only "cancel" button has focus, "clear now" button never has focus when i hit tab key

  • With about:support >Refresh firefox, this one is different, the "Refresh firefox" button has focus, but the "cancel" buton does not have focus, if you hit tab key it never gains focus.

this was tested on ubuntu 18.04 64bit

regards

Flags: needinfo?(pablo.muir)

OK, without being able to reproduce, it's not clear why you'd be seeing this behaviour. It sounds like this doesn't have to do with the URL bar or frontend code in general, but is likely some kind of issue with gtk or the gtk bindings in Firefox.

Have you tried a clean Firefox profile? And can you think of anything you've changed in this ubuntu install, in terms of configuration, since it was created? Is it in a VM, and could it be the host OS is stealing the tab keystrokes under some circumstances? Or is it a physical Ubuntu machine?

Component: General → Widget: Gtk
Flags: needinfo?(pablo.muir)
OS: macOS → Linux
Product: Firefox → Core

HI Gijs
All was done using a clean profile. I cant think of anything that was changed on the ubuntu install, tech support just installed ubuntu on our physical machines in another partition and they just set a username and password.

I just tested it on ubuntu with latest nightly version, but this time on Ubuntu version 16.04 LTS and repeated the Alt-S and about config and i see the same issue as with Ubuntu 18.

Flags: needinfo?(pablo.muir)

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is -- (Backlog,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is -- (Backlog,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is -- (Backlog,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)

Severity: normal → S3

The severity of these bugs was changed, mistakenly, from normal to S3.

Because these bugs have a priority of --, indicating that they have not been previously triaged, these bugs should be changed to Severity of --.

Severity: S3 → --

Closing as no activity or progress on this for years.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: