Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8271846

a11y API lacks setSelectedIndex method

XMLWordPrintable

      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.

            asemenov Artem Semenov
            ant Anton Tarasov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: