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

[macosx] Custom Swing text components need to allow standard accessibility

    Details

      Backports

        Description

        Java platform support for accessibility features in Swing text components on
        Mac OS X is tailored for JTextComponent's subclasses.

        For custom components implementing text input, it's impossible to use standard accessibility features, such as automatic reading of text under cursor and reading of selected text (using VoiceOver Mac OS functionality).

        On Mac OS accessibility features are supported by Java platform directly, without the need for additional bridge software or third-party accessibility drivers (like Java Access Bridge and NVDA on Windows).

        The issue is due to details of sun.lwawt.macosx.CAccessible class's
        implementation - it listens to JTextComponent's document and caret events,
        instead of listening to AccessibleContext's property change events.

        It is thought that this is not a regression and the issue existed since Apple's Java 6.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ptbrunet Pete Brunet (Inactive)
                  Reporter:
                  shadowbug Shadow Bug
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: