gecko-dev/browser
Emilio Cobos Álvarez 5f05578314 Bug 1036966 - Make accessibility.tabfocus default to 7 on macOS too. r=morgan,settings-reviewers,mac-reviewers,mstange
Stop supporting following the system preference, but keep macOS users
able to switch to just text controls (accessibility.tabfocus=1) in the
settings.

Change the meaning of the "Use the tab key to move focus between form
controls and links" checkbox in the Firefox settings, which was
introduced in bug 1628476 to override the system setting.

The intention, I think was that this checkbox being off resulted in
"follow the system" behavior, but that didn't quite happen due to a bug
in the preferences code (this[1] won't unset the pref, because of
this[2], which means we'll just return 0).

This patch changes it so that the checkbox instead always ignores the
system setting. There will no longer be a Firefox setting (neither in
the UI nor on about:config) that means "follow system setting".

This allows us to somewhat simplify the approach compared to the
previous patch in D196110, and keep the accessibility.tabfocus working
as the source of truth without a migration.

In the future, we can think of migrating accessibility.tabfocus to a
boolean pref, which would allow us to do the cleanups to the preferences
code that D196110 did.

[1]: https://searchfox.org/mozilla-central/rev/f1532761de0b60337e42c6c3f525288a523dabef/browser/components/preferences/main.js#2252
[2]: https://searchfox.org/mozilla-central/rev/f1532761de0b60337e42c6c3f525288a523dabef/toolkit/content/preferencesBindings.js#450,483

Differential Revision: https://phabricator.services.mozilla.com/D208602
2024-05-03 23:10:47 +00:00
..
actors Bug 1801957 - Create region with keyboard for screenshots. r=sfoster,firefox-desktop-core-reviewers ,accessibility-frontend-reviewers,Gijs,morgan 2024-05-03 22:05:52 +00:00
app Bug 1894933 - Disable new clear history dialog due to breakage with clear on shutdown. r=pbz 2024-05-03 16:48:52 +00:00
base Backed out changeset ede7a0b15af0 (bug 1742889) for causing node tests failures. CLOSED TREE 2024-05-03 23:12:24 +03:00
branding Bug 1891605 - Change update check interval for non-nightly channels to 6 hours r=release-managers,application-update-reviewers,nalexander,bytesized,RyanVM 2024-05-01 18:44:33 +00:00
components Bug 1036966 - Make accessibility.tabfocus default to 7 on macOS too. r=morgan,settings-reviewers,mac-reviewers,mstange 2024-05-03 23:10:47 +00:00
config Bug 1879171 - Add AFL++ fuzzing build r=decoder,taskgraph-reviewers,bhearsum 2024-04-25 22:16:22 +00:00
docs
extensions Backed out 6 changesets (bug 1802809, bug 1890883, bug 1877717, bug 1403081, bug 1877720) multiple mochitests failures. CLOSED TREE 2024-05-03 22:01:28 +03:00
fonts
fxr
installer Bug 1894689 - update pinned cert issuers in windows maintenance service. r=bhearsum,application-update-reviewers,bytesized 2024-05-03 05:10:14 +00:00
locales Backed out 6 changesets (bug 1802809, bug 1890883, bug 1877717, bug 1403081, bug 1877720) multiple mochitests failures. CLOSED TREE 2024-05-03 22:01:28 +03:00
locales-preview Bug 1893022 - Move Select Translations Fluent Strings out of Preview r=fluent-reviewers,flod 2024-04-25 07:03:31 +00:00
modules Bug 1889402 - Grant origin permissions during install for mv3 r=robwu 2024-05-03 16:05:15 +00:00
themes Backed out 2 changesets (bug 1894484, bug 1893345) for causing mochitests failures in browser_translations_select_panel_translation_failure_after_unsupported_language.js. 2024-05-03 21:57:49 +03:00
tools/mozscreenshots Bug 1775988 - Enable browser_permissionPrompts.js on macos. r=timhuang 2024-05-02 15:21:08 +00:00
.eslintrc.js
app.mozbuild
build.mk
confvars.sh
defs.mk
l10n-registry.manifest
LICENSE
Makefile.in
moz.build
moz.configure