<AWT Dev> RFR: 8267385: Create NSAccessibilityElement implementation for JavaComponentAccessibility

Alexander Zuev kizune at openjdk.java.net
Thu Jun 10 08:07:36 UTC 2021

On Tue, 8 Jun 2021 13:06:53 GMT, Artem Semenov <github.com+36081106+savoptik at openjdk.org> wrote:

> 8267385: Create NSAccessibilityElement implementation for JavaComponentAccessibility
> This pull request contains solutions for the following tickets:
> * JDK-8267385 Create NSAccessibilityElement implementation for JavaComponentAccessibility;
> * JDK-8262031 Create implementation for NSAccessibilityNavigableStaticText protocol;
> * JDK-8264287 Create implementation for NSAccessibilityComboBox protocol peer;
> * JDK-8264303 Create implementation for NSAccessibilityTabGroup protocol peer;
> * JDK-8264292 Create implementation for NSAccessibilityList protocol peer;
> * JDK-8267387 Create implementation for NSAccessibilityOutline protocol;
> * JDK-8267388 Create implementation for NSAccessibilityTable protocol.

src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessibility.java line 728:

> 726:     // Each child takes up three entries in the array: one for itself, one for its role, and one for the recursion level
> 727:     public static Object[] getChildrenAndRolesRecursive(final Accessible a, final Component c, final int whichChildren, final boolean allowIgnored, final int level) {
> 728:         if (a == null) return null;

I am not sure but i think CAccessible is considered a public API so adding public methods to it might require a CSR filling.


PR: https://git.openjdk.java.net/jdk/pull/4412

More information about the awt-dev mailing list