drmfinlay / pyia2

Python interface to MSAA and IAccessible2 Interfaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
  • Clone this repository
  • Install using pip
pip install -e C:\path\to\repository
  • The setup.py file will try to register IAccessible2Proxy.dll with Windows. If it fails, then you need to register it manually with administration privileges:
regsvr32 IAccessible2Proxy.dll

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

About

Python interface to MSAA and IAccessible2 Interfaces

License:GNU General Public License v3.0


Languages

Language:Python 97.3%Language:HTML 2.7%