<Swing Dev> RfR JDK-8145207 [macosx] JList, VO can't access non-visible list items
Anton Tarasov
anton.tarasov at jetbrains.com
Thu Jun 23 17:21:25 UTC 2016
Hi Pete,
> On 22 Jun 2016, at 17:41, Pete Brunet <peter.brunet at oracle.com> wrote:
>
> Thanks Anton, I fixed the first two issues. For the last one did you try VO+Shift+downarrow first to interact with the list?
Now I did try it and it worked fine, thanks for letting me know.
Please, share your thoughts on backporting your OSX a11y fixes into jdk8. As the a11y codebase is quite the same, this seems possible with reasonable time investment.
Thank you for the long-awaited fix! )
Anton.
>
> Pete
>
> On 6/22/16 4:28 AM, Anton Tarasov wrote:
>> Hi Pete,
>>
>> I went through the fix and found it looking fine to me, except for these two minor issues:
>>
>> - JavaComponentAccessibility.m
>>
>> In this chunk:
>>
>> +- (void)postSelectionChanged
>> +{
>> + NSAccessibilityPostNotification(self, NSAccessibilitySelectedChildrenChangedNotification);
>> +}
>>
>> AWT_ASSERT_APPKIT_THREAD is missing.
>>
>> - CAccessibility.java
>>
>> A typo in the comment: "will will annouce”
>>
>> Also, I gave it a try with jdk8u-dev, locally, along with the following pre-applied:
>>
>> 8076554: [macosx] Custom Swing text components need to allow standard accessibility
>>
>> JList is spoken fine by VO, though I wasn’t able to make the following:
>>
>>
>>> On 18 Jun 2016, at 05:31, Pete Brunet <peter.brunet at oracle.com <mailto:peter.brunet at oracle.com>> wrote:
>>>
>>> Please review the following patch.
>>>
>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8145207 <https://bugs.openjdk.java.net/browse/JDK-8145207>
>>> Patch: http://cr.openjdk.java.net/~ptbrunet/JDK-8145207/webrev.00/ <http://cr.openjdk.java.net/%7Eptbrunet/JDK-8145207/webrev.00/>
>>>
>>> This fixes the following functionality that was not working with the
>>> JList of ListDemo of SwingSet2.
>>> - start VoiceOver
>>> - start SwingSet2
>>> - start the ListDemo
>>> - press Tab until focus is on the list, should hear VO when changing
>>> selections with up/down arrow
>>> - when interacting with list should hear that there are 30 (total)
>>> items, not 26 (visible) items
>>> - when using control+option+up/downarrow should be able to move to and
>>> select (control+option+spacebar) non-visible items past the 26th visible
>>> item
>>
>> VO+up/down just moves up/down the sibling panels (conforming https://www.apple.com/voiceover/info/guide/_1131.html <https://www.apple.com/voiceover/info/guide/_1131.html>) but not the list items.
>> Could you please shed a light on it?
>>
>> Thanks,
>> Anton.
>>
>> P.S.
>> Will it be possible to back-port it to 8u-dev?
>>
>>
>>> - should be able to multi-select both visible and invisible items using
>>> control+option+command+return and VO should read the item just added
>>> - should be able to shift extend items with shift up or shift down arrow
>>> and VO should announce the item just added or removed
>>>
>>> Pete
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20160623/208db633/attachment.html>
More information about the swing-dev
mailing list