[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: RFR: 8271846 a11y API lacks setSelectedIndex method [v2]
From:       Artem Semenov <asemenov () openjdk ! org>
Date:       2022-08-31 7:46:13
Message-ID: -SB0xU0t4E4T1E3ZuDIHyxQyjhDMqLToxjUilRRK0q4=.45423896-e355-474e-ba6b-9f9ef8917bfd () github ! com
[Download RAW message or body]

On Wed, 11 May 2022 12:49:34 GMT, Artem Semenov <asemenov@openjdk.org> wrote:

> > A11Y implementation on macOS has to directly call the 'JList.setSelectedIndex' \
> > method in order to request selection on an item (see \
> > 'CAccessibility.requestSelection'). The reason is that a11y API lacks appropriate \
> > method.There's only \
> > 'javax.accessibility.AccessibleSelection#addAccessibleSelection' which is mapped \
> > to 'javax.swing.JList#addSelectionInterval', it can not be used to set selected \
> > index. 
> > @forantar @azuev-java @mrserb please review.
> > 
> > Please note that the new API allows you to implement a multiple selection in \
> > lists from the Java side, but I did not succeed in implementing it, because I \
> > could not determine the inclusion of the so-called "VoiceOver multiple selection \
> > mode".
> 
> Artem Semenov has updated the pull request incrementally with one additional commit \
> since the last revision: 
> We don't do @author tags in openjdk
> Not 2022 ?

@azuev-java @mrserb @prrace please review \
[CSR](https://bugs.openjdk.org/browse/JDK-8286674 \
"[bugs.openjdk.org](http://bugs.openjdk.org/)") and this PR.

-------------

PR: https://git.openjdk.org/jdk/pull/8578


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic