VO doesn't speak selection changes in a popup list
VO doesn't speak selection changes in a popup list
- Subject: VO doesn't speak selection changes in a popup list
- From: Pete Brunet <email@hidden>
- Date: Wed, 03 Aug 2016 23:23:45 -0500
I'm trying to get VO to speak selection changes in a popup list and am
not having any luck so am looking for some ideas.
According to Accessibility Inspector the tree looks like this:
AXApplication
AXWindow:AXSystemDialog
AXPopupMenu
AXList
AXStaticTest
This is generated from a Java JList attached to a JPopupMenu which is
shown when a JButton is activated. The list has 5 items, "one" ... "five".
When the list appears VO does announce it: "system dialog, interact with
popup button, 5 items, one". But when pressing up/down arrow VO doesn't
announce the selection changes.
Looking at the VO calls that come back in after a posting a
NSAccessibilitySelectedChildrenChangedNotification for the list I only see
- role called once on list, returns list
- enabled called on label, only when moving from one to two, returns true
- isIgnored called once on list, returns 0
accessibilityAttributeNames for the list are:
AXParent,
AXRole,
AXRoleDescription,
AXHelp,
AXWindow,
AXTopLevelUIElement,
AXEnabled,
AXSize,
AXPosition,
AXFocused,
AXChildren,
AXSelectedChildren,
AXVisibleChildren
accessibilityAttributeNames for the labels are:
AXParent,
AXRole,
AXRoleDescription,
AXHelp,
AXWindow,
AXTopLevelUIElement,
AXEnabled,
AXSize,
AXPosition,
AXFocused,
AXTitle,
AXValue,
AXSelectedText,
AXSelectedTextRange,
AXNumberOfCharacters,
AXVisibleCharacterRange,
AXInsertionPointLineNumber,
AXSelected,
AXIndex
I tried posting a NSAccessibilityLayoutChangedNotification on the list
(with list in the userInfo dictionary) after the list became visible
with no luck.
_______________________________________________
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