Skip to content

Conversation

@DataTriny
Copy link
Member

We were previously initializing the Unix adapter when the accessibility was enabled on the system. It turns out that many distributions seem to start AT-SPI by default, thus we get initialized on many systems where no assistive technology is running.

The ScreenReaderEnabled D-Bus property has to be explicitly set by an assistive technology when it starts. As such, it is a far better indication for us that we should send a tree. A faulty AT could forget to set this property and get no tree from AccessKit at all, but I think it is easier to fix a handful of ATs on Unix rather than dealing with annoyed users who would have to pay an unnecessary performance hit for something they don't use.

@DataTriny
Copy link
Member Author

I have tested this myself. The change is very small but very important for downstream projects such as Godot. I'll merge this.

@DataTriny DataTriny merged commit ec67fdf into main Nov 13, 2025
16 checks passed
@DataTriny DataTriny deleted the fix-unix-activation branch November 13, 2025 20:21
@DataTriny DataTriny mentioned this pull request Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants