Skip to content
forked from wolfmanstout/pyia2

Python interface to MSAA and IAccessible2 Interfaces

License

Notifications You must be signed in to change notification settings

alexboche/pyia2

 
 

Repository files navigation

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

About

Python interface to MSAA and IAccessible2 Interfaces

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.2%
  • HTML 2.8%