On Mon, 2 Aug 2021 05:38:42 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> Unfortunately, the current a11y interface does not allow this action. >> As for the custom AccessibleJListChild, I prepared a [sample >> project](https://github.com/savoptik/AccessibilityJListItemA11yExample) in >> which I implemented a custom child. The experiment showed that there are no >> negative consequences. The custom child works as intended. > > In the example, you use a JList class, and the checks in the code above > works, but if some other "AccessibleJList" class will be used then it will > not work, right? This is the reason why implementations of a11y classes > usually use specific interfaces like "AccessibleJList". Yes, this will not work with a custom list not inherited from JList. Unfortunately AccessibleJList is not perfect and the functionality you need is not there. If you have a better solution, please share it. - Could you please advice on what we can do here? ------------- PR: https://git.openjdk.java.net/jdk/pull/4412