The accessibility API enables text selection and editing more powerful than what Dragon provides natively, to a wider range of applications (e.g. Google Chrome on Windows and Mozilla Firefox on Windows and Linux). It is currently in Beta and the API may change at any time.
Next, add the following to your ~/.profile file:
export GTK_MODULES=gail:atk-bridge export OOO_FORCE_DESKTOP=gnome export GNOME_ACCESSIBILITY=1 export QT_ACCESSIBILITY=1 export QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
Some applications will not support assistive technologies unless these
settings are enabled. You may also need to enable GNOME accessibility with
gsettings set org.gnome.desktop.interface toolkit-accessibility true
git clone https://git.debian.org/git/pkg-a11y/check-a11y cd check-a11y ./troubleshoot
Most functionality works properly on Linux, except for a few known issues:
- Text selection occasionally requires use of the Mouse action due to limitations of the text selection API. The Mouse action is not yet implemented on Linux, so this will sometimes silently fail.
- Firefox has been tested successfully on Ubuntu 18.04 and Debian 10 with default configuration.
- LibreOffice treats each paragraph as a separate focusable element, so movement between paragraphs is not yet supported.
Get the OS-independent accessibility controller which is the gateway to all accessibility functionality. Returns None if OS is not supported.
OS-independent controller for accessing accessibility functionality.
True if an editable text field is focused.
Moves the cursor before or after text that matches the provided query.
Replaces text which matches the provided query.
Selects text which matches the provided query.
Stops the controller (otherwise process exit may be blocked).
TextQuery(start_phrase='', start_relative_position=None, start_relative_phrase='', through=False, end_phrase='', end_relative_position=None, end_relative_phrase='')¶
A query to match a range of text.
The phrase at the end of the match (or the sole phrase).
The phrase to match before or after at the end.
The phrase at the start of the match.
The phrase to match before or after at the start.
True if matching from a start point to the end phrase.