Re: VO list operations
Re: VO list operations
- Subject: Re: VO list operations
- From: Pete Brunet <email@hidden>
- Date: Thu, 29 Sep 2016 14:52:48 -0500
Here's what happens when in VO multi-select mode, i.e. control option
command return. There is no problem with this.
Add the first one...
In -[JavaComponentAccessibility accessibilitySelectedChildrenAttribute]
self role: list
returning: (
"AXStaticText(title:'', desc:'text', value:'YoYoSystems')"
)
In -[JavaComponentAccessibility accessibilitySelectedAttribute]
self role: label
self value: NetSoft
returning: 0
In -[JavaComponentAccessibility accessibilitySetSelectedAttribute:]
self role: label
self value: NetSoft
value: 1
In -[JavaComponentAccessibility postSelectionChanged]
self role: list
In -[JavaComponentAccessibility accessibilitySelectedAttribute]
self role: label
self value: NetSoft
returning: 1
In -[JavaComponentAccessibility accessibilitySelectedChildrenAttribute]
self role: list
returning: (
"AXStaticText(title:'', desc:'text', value:'NetSoft')",
"AXStaticText(title:'', desc:'text', value:'YoYoSystems')"
)
Add the second one...
In -[JavaComponentAccessibility accessibilitySelectedAttribute]
self role: label
self value: TeraSystems
returning: 0
In -[JavaComponentAccessibility accessibilitySetSelectedAttribute:]
self role: label
self value: TeraSystems
value: 1
In -[JavaComponentAccessibility postSelectionChanged]
self role: list
In -[JavaComponentAccessibility accessibilitySelectedAttribute]
self role: label
self value: TeraSystems
returning: 1
In -[JavaComponentAccessibility accessibilitySelectedChildrenAttribute]
self role: list
returning: (
"AXStaticText(title:'', desc:'text', value:'TeraSystems')",
"AXStaticText(title:'', desc:'text', value:'YoYoSystems')",
"AXStaticText(title:'', desc:'text', value:'NetSoft')"
)
Pete
On 9/29/16 1:52 PM, Pete Brunet wrote:
> Maybe VO doesn't know it's a multi-select list. How does it get
> information about single/multi?
>
> On 9/29/16 11:55 AM, Pete Brunet wrote:
>> In response to control option downarrow VO sends back two
>> accessibilitySetSelectedAttribute:, one for the prior list item and one
>> for the new list item, each with value 1. A single post
>> NSAccessibilitySelectedChildrenChangedNotification is sent back due to
>> the newly added item to the selection.
>>
>> In -[JavaComponentAccessibility accessibilitySelectedChildrenAttribute]
>> self role: list
>> returning: (
>> "AXStaticText(title:'', desc:'text', value:'YoYoSystems')"
>> )
>> In -[JavaComponentAccessibility accessibilitySetSelectedAttribute:]
>> self role: label
>> self value: YoYoSystems
>> value: 1
>> In -[JavaComponentAccessibility accessibilitySetSelectedAttribute:]
>> self role: label
>> self value: MetaDynamics
>> value: 1
>> In -[JavaComponentAccessibility postSelectionChanged]
>> self role: list
>> In -[JavaComponentAccessibility accessibilitySelectedChildrenAttribute]
>> self role: list
>> returning: (
>> "AXStaticText(title:'', desc:'text', value:'MetaDynamics')",
>> "AXStaticText(title:'', desc:'text', value:'YoYoSystems')"
>> )
>>
>> In response to the next control option downarrow VO sends back one
>> accessibilitySetSelectedAttribute: for the new list item. Again a single
>> post is sent back due to the newly added item to the selection.
>>
>> In -[JavaComponentAccessibility accessibilitySetSelectedAttribute:]
>> self role: label
>> self value: NetSoft
>> value: 1
>> In -[JavaComponentAccessibility postSelectionChanged]
>> self role: list
>> In -[JavaComponentAccessibility accessibilitySelectedChildrenAttribute]
>> self role: list
>> returning: (
>> "AXStaticText(title:'', desc:'text', value:'NetSoft')",
>> "AXStaticText(title:'', desc:'text', value:'YoYoSystems')",
>> "AXStaticText(title:'', desc:'text', value:'MetaDynamics')"
>> )
>>
>>
>> On 9/28/16 10:12 PM, Pete Brunet wrote:
>>> p.s.
>>>
>>> The test was done on El Capitan 10.11.6.
>>>
>>> Where can I find a native multiselect list to see how it behaves?
>>>
>>> This the behavior of Finder using its list view:
>>>
>>> control option arrow: selects one item at new location
>>> control option command return: enters multi-selection mode and deselects
>>> the current item
>>> If you want that item selected you have to redo control option command
>>> return
>>> control option arrow: moves VO cursor without selecting a list item
>>> control option command return: adds one item to the selection
>>>
>>> I could not find a way to get out of multiselect mode - other than
>>> pressing command tab twice to move focus away from Finder and back again.
>>>
>>> Pete
>>>
>>> On 9/28/16 5:38 PM, Pete Brunet wrote:
>>>> Hi, It seems like list behavior changed recently. For a multiselect
>>>> Java JList I am seeing this behavior:
>>>>
>>>> control option arrow: extends the selection
>>>> control option spacebar: selects one item
>>>> control option command return: enters multi-selection mode
>>>> control option arrow: moves VO cursor without selecting a list item
>>>> control option command return: adds one item to the selection
>>>> control option spacebar: exit multi-select mode and select the current
>>>> list item
>>>>
>>>> Is this correct?
>>>>
>>>> Pete
>>>> _______________________________________________
>>>> 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
>>> _______________________________________________
>>> 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
>> _______________________________________________
>> 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
_______________________________________________
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