-
Notifications
You must be signed in to change notification settings - Fork 1
Description
For proper accessibility support, we need to use AT-SPI to expose the dialog structure: the icon name, the message, and the buttons (the title is already available to XWayland, and should make its way to the accessibility tooling automatically).
Unfortunately, AT-SPI is a D-Bus protocol, so the only ways to talk to it from Rust are via a libdbus wrapper like dbus-rs (adding a C dependency) or via zbus, a pure-Rust D-Bus implementation that pulls in half the async ecosystem and will surely make our binary size balloon past what's acceptable.
We already use the dbus-send CLI tool to query the system theme, so maybe that could also be used to expose the accessibility information? The tool might not be flexible enough though, so this requires some investigation.