fune/browser/components/preferences
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
..
dialogs Bug 1853818 - Remove toolkit/branding/accounts.ftl file r=flod,fluent-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,mconley,aminomancer,mak,sgalich,nsharpley,mkaply 2024-04-22 16:24:30 +00:00
tests 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
containers.inc.xhtml
containers.js Bug 1864896: Autofix unused function arguments (browser/components/preferences). r=settings-reviewers,Gijs 2024-03-01 18:28:32 +00:00
experimental.inc.xhtml Bug 1872909 - Commit to deemphasized descriptive text pattern in preferences that has already been introduced under Search settings in order to improve information architecture r=settings-reviewers,desktop-theme-reviewers,dao,Gijs 2024-01-26 04:09:59 +00:00
experimental.js
extensionControlled.js
findInPage.js Bug 1864606 - Fix missing label association for crash reports checkbox r=fluent-reviewers,Gijs,bolsson 2024-03-15 00:10:38 +00:00
fxaPairDevice.js
fxaPairDevice.xhtml Bug 1853818 - Remove toolkit/branding/accounts.ftl file r=flod,fluent-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,mconley,aminomancer,mak,sgalich,nsharpley,mkaply 2024-04-22 16:24:30 +00:00
home.inc.xhtml Bug 1872909 - Commit to deemphasized descriptive text pattern in preferences that has already been introduced under Search settings in order to improve information architecture r=settings-reviewers,desktop-theme-reviewers,dao,Gijs 2024-01-26 04:09:59 +00:00
home.js Bug 1789727 - Initialize ExtensionSettingsStore before use to prevent test failures. r=mconley,settings-reviewers 2024-03-04 21:13:17 +00:00
jar.mn Bug 1869830 - [translations] Add a page for Translation Setting Preferences. r=nordzilla,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,translations-reviewers,Gijs,bolsson,dao 2024-01-22 14:19:25 +00:00
main.inc.xhtml Bug 1892068 - Update Translations Settings Language r=translations-reviewers,fluent-reviewers,settings-reviewers,gregtatum,bolsson 2024-04-19 14:11:58 +00:00
main.js 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
metrics.yaml
more-from-mozilla-qr-code-simple-cn.svg
more-from-mozilla-qr-code-simple.svg
moreFromMozilla.inc.xhtml Bug 1872909 - Commit to deemphasized descriptive text pattern in preferences that has already been introduced under Search settings in order to improve information architecture r=settings-reviewers,desktop-theme-reviewers,dao,Gijs 2024-01-26 04:09:59 +00:00
moreFromMozilla.js Bug 1862023 - Update More From Mozilla product list to display Firefox Monitor r=settings-reviewers,desktop-theme-reviewers,fluent-reviewers,Gijs,flod 2024-01-17 21:57:33 +00:00
moz.build
preferences.js Bug 1844935 - Replace restart prompt when changing history settings with an in-content dialogue box. r=cmkm,settings-reviewers,Gijs 2024-04-18 15:43:00 +00:00
preferences.xhtml Bug 1853818 - Remove toolkit/branding/accounts.ftl file r=flod,fluent-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,mconley,aminomancer,mak,sgalich,nsharpley,mkaply 2024-04-22 16:24:30 +00:00
privacy.inc.xhtml 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
privacy.js 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
search.inc.xhtml Bug 1872909 - Commit to deemphasized descriptive text pattern in preferences that has already been introduced under Search settings in order to improve information architecture r=settings-reviewers,desktop-theme-reviewers,dao,Gijs 2024-01-26 04:09:59 +00:00
search.js Bug 1882577 - Make nsISearchEngine.getIconURL an async function. r=search-reviewers,extension-reviewers,settings-reviewers,robwu,mcheang,mak 2024-03-13 14:51:06 +00:00
searchResults.inc.xhtml
sync.inc.xhtml Bug 1884748 - add alt text to images in about:preferences#sync. r=fluent-reviewers,flod,mconley,accessibility-frontend-reviewers,ayeddi 2024-03-28 19:11:27 +00:00
sync.js Bug 1864896: Autofix unused function arguments (browser/components/preferences). r=settings-reviewers,Gijs 2024-03-01 18:28:32 +00:00
translations.inc.xhtml Bug 1876286 - [translations] Dynamically populate the dropdown menu selectors in the Secondary Translation Settings. r=nordzilla,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,translations-reviewers,emilio,bolsson,Gijs 2024-04-10 15:40:06 +00:00
translations.js Bug 1876286 - [translations] Dynamically populate the dropdown menu selectors in the Secondary Translation Settings. r=nordzilla,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,translations-reviewers,emilio,bolsson,Gijs 2024-04-10 15:40:06 +00:00
web-appearance-dark.svg
web-appearance-light.svg