Tka11y - Accessibility-aware Tkinter
This module makes it possible for accessibility (a11y) clients (e.g., audible readers, magnifiers, etc.) to get accessibility data (name, description, role, actions, etc.) from the Tk widgets of Python applications that use Tkinter. It also allows automated GUI application testers that use the accessibility interface (such as dogtail, LDTP, and Accerciser) to control the Tk widgets of these applications.
Currently, accessibility is only available via ATK <=> AT-SPI on Linux. Sorry, no Windows MSAA support.
Usage
Import Tka11y using the two commonly employed methods for importing Tkinter:
import Tka11y as Tkinter
or
from Tka11y import *
In the first case, use Tkinter. to access Tkinter definitions. In the second case, the Tkinter definitions are in the global scope as expected. In either case, use Tkinter definitions as you would have done before; Tka11y does not change the Tkinter API in any way.
Details
This module modifies the original Tkinter module in memory, making all Tk widgets accessibility-aware.
Note that, because it modifies the original Tkinter module (in memory), other modules that use Tkinter (e.g., Pmw) reap the benefits automagically as long as Tka11y is imported at some point before the first Tk object is created.
Tka11y uses Papi, the Python Accessibility Programming Interface, which in turn uses ATK, the GNOME Accessibility Toolkit, to expose Tkinter widgets to AT-SPI, the Assistive Technologies Service Provider Interface. This allows a Tkinter application’s widgets to be viewed and/or controlled by a variety of assistive technologies such as Orca and Accerciser, and automated GUI testing tools such as dogtail and LDTP. These client tools usually use either cspi (C) or pyatspi (Python).
Metadata
Release files for Tka11y 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Tka11y-0.1.1.tar.gz | 27.1 kB | Without provenance | Details for Tka11y-0.1.1.tar.gz |
Release files / Tka11y-0.1.1.tar.gz
| Download URL | Tka11y-0.1.1.tar.gz |
|---|---|
| Size | 27.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4499e061635698200849672b01cec85abbafd44bfac6606bd939bec8c97e56e8
|
|
BLAKE2b-256 checksum How to use checksums |
71de205711d5da0f1000dd05962d1fae496c73f1a15ed9658a1365b31bf18f9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Tka11y 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.