Description: |
I compiled tcl 8.6.4 and tk 8.6.4 on mac OSX 10.9, and, using voice over ( a screen reader on the mac), the window seems inaccessible. I tested with a simple program (reproduced below), and it shows no buttons except the standard mac OS zoom, minimize, and close.
Code:
#! /bin/env tclsh
package require Tk
button .b -text {Push Me} -command {tk_messageBox -message {hello, world}}
pack .b
If this could be fixed that would be great, as I am hoping to use tcl/tk in a cross-platform game engine aimed mainly at the blind.
Thanks,
-Michael.
|
User Comments: |
kevin_walzer added on 2015-03-25 21:52:05:
Tk does not support screen readers on any platform.
Accessibility is actually a huge topic. It requires a large implementation across three different API's (Apple's NSAccessability API, Windows' MSAA, and AT-SPI on Unix). It would take hundreds of hours at a minimum to implement and test even a basic implementation for Tk: this would easily be the largest addition to Tk since the themed Tk widgets, which came 10 years ago.
This is one area where Tk is sorely lacking; most other cross-platform toolkits (Java and Qt, in particular) support accessibility. However, the resources required to implement this in Tk are enormous, and it is not surprising that no one has stepped forward to take on the task.
If you have immediate needs, you are probably better off choosing another toolkit for your project.
|