Re: VO list operations
Re: VO list operations
- Subject: Re: VO list operations
- From: Pete Brunet <email@hidden>
- Date: Mon, 03 Oct 2016 20:27:53 -0500
I noticed something interesting today regarding this. If I uncheck
"Keyboard focus follows VoiceOver cursor" then the problem goes away,
i.e. VO causes no selections when using control option up/down arrow.
The selection only happens when using control option space. When that
option is checked then when using control option up/down arrow VO will
not deselect the old item when selecting the new item.
Pete
On 9/30/16 2:14 PM, Pete Brunet wrote:
> I see the same behavior on Sierra.
>
> Bottom line is that it appears a bug was introduced in 10.10.6 and
> Sierra 10.11 where use of control option up/down arrow in a list is
> sending accessibilitySetSelectedAttribute:1 each time rather than
> waiting for the user to press control option space to select a list item.
>
> Note that Finder in it's list view is not useful as a test case; it's
> behavior is different.
>
> I wish someone could try this test on 10.10.5 or earlier:
>
> - download SwingSet2.jar from
> http://cr.openjdk.java.net/~ptbrunet/SwingSet2/SwingSet2.jar
> - if you don't have Java build 130 or later download it from
> https://jdk9.java.net/download/
> - make sure VoiceOver is set up as follows:
> - System Preferences, Accessibility, VoiceOver, Open VoiceOver
> Utility, Navigation
> - In Grouping behavior: Ignore groups
> - Keyboard focus follows VoiceOver cursor: checked
> - VoiceOver cursor follow keyboard focus: checked
> - start VoiceOver
> - start SwingSet2: java -jar SwingSet2.jar
> - click the ListDemo toolbar button to select the ListDemo
> - press control + option + right arrow 10 times to move focus to the
> text above the list box
> - press control + option + down arrow 1 time to move focus to the list
> - press shift + control + down arrow to interact with the list
> - press control + option + down arrow to move to the next list item
> - multiple list items should not be selected
>
> Extra effort, but these work OK
> - use control option space to single select a list item
> - use control option command return to multi select a list item
>
> It would be helpful to know if this is recognized to be a bug.
>
> Thanks, Pete
>
>
> On 9/30/16 10:53 AM, Pete Brunet wrote:
>> After thinking about this more I think with 10.10.5 control option
>> up/down arrow did not cause VO to send
>> accessibilitySetSelectedAttribute: at all and that it wasn't until
>> control option space was pressed that the item was selected.
>>
>> 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