Editable text accessibility - does it exist?
Editable text accessibility - does it exist?
- Subject: Editable text accessibility - does it exist?
- From: Scott Kovatch <email@hidden>
- Date: Wed, 6 Oct 2010 21:03:23 -0700
Hello,
I'm looking into providing the equivalent of IAccessibleEditableText for the Cocoa version of the SWT. For those not familiar with IAccessible2, this is a collection of methods for getting text from and sending it to the clipboard using an assistive technology. Basically, something would call into our code and invoke copy, paste, replace text, set attributes, etc. directly, with a string and insertion point or range of text to modify as opposed to invoking cut/copy/paste from the menu or via keyboard shortcut and reading from the clipboard and modifying whatever is currently selected.
The main caller of such an API would most likely be a voice recognition engine that could handle a command like "copy word 2" or "paste at the end of the line", but that seems beyond the capabilities of either Speakable Items or Dragon Dictation. Both of those look like they just send a keystroke to the frontmost application.
I'm not seeing anything in NSAccessibility that would let me accomplish this -- it's more oriented towards reading and writing attributes and invoking direct actions as opposed more complicated things like 'copy characters 3 through 10 to the clipboard, and don't move the selection' -- I guess I'm looking for something like a parameter-izable action, much like accessibilityAttributeValue:forParameter:
Having said all of that, I guess I have two questions:
-- Is there a way to interact with the clipboard that doesn't involve invoking a menu item or command key?
-- Is there any AT on Mac OS X, third party or otherwise, that would use this? I feel like I would be writing a service that no client could talk to.
I think the answer to both is no, but I'm open to suggestions or pointers to something I'm not seeing.
Thanks
Scott K.
------------------
Scott Kovatch
IBM
Eclipse Platform Team
Pleasanton, CA
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden