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

Create NSAccessibilityElement implementation for JavaComponentAccessibility

XMLWordPrintable

        The AWT JavaComponentAccessibility class implements the NSObject interface which adopts legacy NSAccessibility protocol. The new AWT CommonComponentAccessibility class inherits from JavaComponentAccessibility and adopts the NSAccessibilityElement protocol.

        This approach mixes legacy and new a11y protocols implementation and will cause problems for (at least) NSAccessibilityList implementation.

        So it is suggested that we untie the CommonComponentAccessibility class from JavaComponentAccessibility, make it directly implement the NSAccessibilityElement interface, and translate all the legacy a11y code from JavaComponentAccessibility to the new a11y base protocol.

        JavaComponentAccessibility would be left as a legacy alternative for a while.

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

                Created:
                Updated:
                Resolved: