gecko-dev/dom/xul
Emilio Cobos Álvarez 06e782e1bf 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-02 22:19:53 +00:00
..
crashtests
test Bug 1864896: Autofix unused function arguments (dom). r=emilio,media-playback-reviewers,dom-storage-reviewers,padenot,janv 2024-03-04 15:44:59 +00:00
ChromeObserver.cpp Bug 1884792 - Remove chrome-only :-moz-lwtheme pseudo-class. r=desktop-theme-reviewers,dao 2024-03-18 10:18:25 +00:00
ChromeObserver.h
MenuBarListener.cpp
MenuBarListener.h
moz.build
nsIBrowserController.idl
nsIController.idl
nsIControllers.idl
nsXULCommandDispatcher.cpp
nsXULCommandDispatcher.h
nsXULContentSink.cpp Bug 1881188 - Remove nsLayoutCID.h r=emilio 2024-02-21 13:04:30 +00:00
nsXULContentSink.h Bug 1867945 - Use WeakPtr<Document> instead of nsWeakPtr. r=dom-core,farre 2023-12-07 18:47:44 +00:00
nsXULContentUtils.cpp Bug 1881188 - Remove nsLayoutCID.h r=emilio 2024-02-21 13:04:30 +00:00
nsXULContentUtils.h
nsXULControllers.cpp
nsXULControllers.h
nsXULElement.cpp Bug 1036966 - Make accessibility.tabfocus default to 7 on macOS too. r=morgan,settings-reviewers,mac-reviewers,mstange 2024-05-02 22:19:53 +00:00
nsXULElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
nsXULPopupListener.cpp Bug 1881845 - Remove nsContentCID.h r=smaug,media-playback-reviewers,karlt 2024-03-04 23:41:05 +00:00
nsXULPopupListener.h
nsXULPrototypeCache.cpp
nsXULPrototypeCache.h Bug 1880262 - Try to avoid YSOD when loading to XUL prototype fails and also if YSOD has been stored in the startup cache, r=Gijs,peterv,emilio 2024-02-14 17:18:29 +00:00
nsXULPrototypeDocument.cpp
nsXULPrototypeDocument.h
nsXULSortService.cpp Bug 1839051 - Use nsTArray::Sort in the nsXULSortService. r=xpcom-reviewers,emilio 2023-12-11 06:53:26 +00:00
nsXULSortService.h
XULBroadcastManager.cpp
XULBroadcastManager.h
XULButtonElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
XULButtonElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
XULFrameElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
XULFrameElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
XULMenuBarElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
XULMenuBarElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
XULMenuElement.cpp
XULMenuElement.h
XULMenuParentElement.cpp
XULMenuParentElement.h Bug 1878092 - Remove <xul:popup> element. r=Gijs 2024-02-02 19:28:21 +00:00
XULPersist.cpp
XULPersist.h Bug 1873772 - Only report XULStore load errors in the parent process; r=mossop 2024-01-17 17:18:47 +00:00
XULPopupElement.cpp
XULPopupElement.h Bug 1878092 - Remove <xul:popup> element. r=Gijs 2024-02-02 19:28:21 +00:00
XULResizerElement.cpp
XULResizerElement.h
XULTextElement.cpp
XULTextElement.h
XULTooltipElement.cpp
XULTooltipElement.h
XULTreeElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
XULTreeElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00