#640 Force enable a11y session bus access for all Flatpaks
Opened by ngompa. Modified

There are many Flatpaks that do not expose the accessibility session bus by default, making them inaccessible despite their toolkits having support.

elementary OS is pursuing a global override to force-enable it, and I think we should too.


FYI @ngraham

This sounds like something that flatpak itself should (already?) handle, but if the environment variable is really needed, then the flatpak runtimes would be the place to define it. Please use https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues for requesting changes.

The environment variable shouldn't be needed anymore with >=Qt 6.9 (with back ports to 6.8 and 6.7) as per https://codereview.qt-project.org/c/qt/qtbase/+/598549

So just setting globally on the atspi daemon the IsEnabled to true will make all QT and KDE apps accessible via atspi without any environment variable.

Does it only not work for flatpaks or also not for regular apps w/o that environment variable set?

Note that I am not sure this proper propagates to already running apps. Maybe it's needed to set IsEnabled=true and then restart the app to see the accessible tree in e.g. Accerciser.

This sounds like something that flatpak itself should (already?) handle, but if the environment variable is really needed, then the flatpak runtimes would be the place to define it. Please use https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues for requesting changes.

This is irrespective of the flatpak or runtime. This is just blocked by default by Flatpak itself.

This basically is that we need Flatpak to have a default override for the accessibility bus, something like:

[Session Bus Policy]
org.a11y.bus=talk
Metadata