Open Bug 1714422 Opened 3 years ago Updated 8 months ago

[Linux] Firefox not respecting OS scrollbar width setting

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 89
x86_64
Linux
defect

Tracking

()

UNCONFIRMED
Accessibility Severity s3

People

(Reporter: web, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0

Steps to reproduce:

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0
Build ID: 20210527174632
Distribution ID: mint
OS: Linux 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021

After the upgrade to FF89.0, FF is not respecting the system OS scrollbar width setting.

This was addressed in https://bugzilla.mozilla.org/show_bug.cgi?id=1698783 for Windows, but doesn't seem to be addressed in Linux.

https://bugzilla.mozilla.org/show_bug.cgi?id=1714039 may also be related.

Actual results:

Attached is a screenshot of Linux Mint's Theme Settings control panel; note the "Scrollbar width (px)" setting of 15px circled in red.

Other applications respect this setting. Included in the screenshot is an image of Firefox's scrollbar displaying quite a bit thinner than the OS setting.

Expected results:

For accessibility reasons, among others, Firefox should respect the OS setting for scrollbar width.

Description:
The width of the scrollbar should provide a sufficiently-wide target area for all users, and for low-vision users should be adequately visible.

If the user has increased the scrollbar width at the OS level to improve the target size/visibility, Firefox should respect that.

As this was fixed in Windows (see bug linked in original post), it should also be fixed in Linux.

How do we test this?
In Linux, using theme settings (varies by Linux flavor and desktop environment e.g. Cinnamon, Mate, etc.) to adjust the scrollbar width system-wide. Open Firefox and observe if the scrollbar width matches the OS setting.

Please describe the accessibility guidelines you considered and what steps you've taken to address them:
This is related to the browser chrome and theming and isn't mentioned in the accessibility release guidelines, but is similar to the guidelines around Markup Languages > Form Controls.

Describe any areas of concern to which you want the accessibility team to give special attention:
Click and touch targets, low-vision needs.

a11y-review: --- → requested
Component: Untriaged → Theme
OS: Unspecified → Linux
Hardware: Unspecified → x86_64

Hey Ivan,
Can you test the issue while in Safe Mode? You can find helpful info here : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode .
Also a fresh new profile could help. You can find more about creating a new profile here : https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems#w_6-create-a-new-firefox-profile .
If possible, you can test this issue on the nightly build as well. Download the build from : https://www.mozilla.org/en-US/firefox/nightly/all/ .

Flags: needinfo?(web)

Andrei:

I've tested it in Safe Mode and with a new blank profile. It's the same experience.

I don't know if I can run a nightly build alongside my main install (which I use for work) but I'll see what I can do.

But it really seems like the default behavior.

Flags: needinfo?(web)

Since this issue already has a component the dev team will take over from here and hopefully they will have a fix for it.

The a11y-review flag is intended for developers or designers implementing changes/features and requesting help from the accessibility team. That said, I've added the access keyword here so this is flagged as an accessibility issue and will be included as part of accessibility triage. Thanks.

a11y-review: requested → ---
Keywords: access
Whiteboard: [access-s3]
Component: Theme → Widget: Gtk
Product: Firefox → Core
Priority: -- → P3
Accessibility Severity: --- → s3
Whiteboard: [access-s3]

In Fedora, default scrollbars are too narrow; Firefox scrollbars are even narrower.

In this case a workaround is to take widget.non-native-theme.scrollbar.size.override and set it to something reasonable; 25 or 30 seem good to me.

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

Attachment

General

Creator:
Created:
Updated:
Size: