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

Create NSAccessibilityElement implementation for JavaComponentAccessibility

    XMLWordPrintable

    Details

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                asemenov Artem Semenov
                Reporter:
                ant Anton Tarasov
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: