Python interface to MSAA and IAccessible2 Interfaces
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pyia2
.gitignore
LICENSE
readme.md
setup.py
test-callback.py
test-functions.py
test.py
wai-aria-test-page.html

readme.md

Python Interface to MSAA+IAccessible2

This project builds on top of the work of Eitan Isaacson pyia project to build a python library to expose Microsoft Active Accessibility (MSAA) and IAccessible2 interfaces for Windows Operating system. This project extends the pyia project to support the IAccessible2 interfaces. The purpose of the project is to support ARIA and HTML5 implementation of the accessibility mapping specifictions as part of the activities of the W3C WAI ARIA and HTML5 working groups.

Installation Requirements

  • Install python 2.7 and pip for Windows
  • Install comtypes library using pip
pip install comtypes
  • Register IAccessible2Proxy.dll with Windows (Note: this needs to be done with administration priveleges)
regsvr32 IAccessible2Proxy.dll
  • Clone this repository

Examples

  • test.py will display a list of information on the currenly open windows
  • test-callback.py will list events related to document loads and focus changes

Chrome Browser Configuration

  • Chrome has an accessibility configutation options avaialble through typing in the following URL: chrome://accessibility/
  • Use this configuration option to configure chrome to expose accessibility information

References