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

incorrect accessibility behavior of context menu on textArea control

    XMLWordPrintable

Details

    Description

      ADDITIONAL SYSTEM INFORMATION :
      windows 10 1809 ltsc, nvda 2021.1, javafx sdk 16

      A DESCRIPTION OF THE PROBLEM :
      when I open context menu in textArea control, select any item by arrow keys and press enter to activate this item, context menu closes, but my screen reader thinks that focus remains in this context menu.
      focus should return to the text editor after this.

      I'm using nvda screen reader.

      screen reader logs and sample application may be found in this github issue:
      https://github.com/nvaccess/nvda/issues/12747

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      launch nvda
      open any application with textArea control
      press applications key or shift+f10 to open up the context menu.
      select any item, for example select all, from the context menu using keyboard arrow keys.
      press enter to activate selected item.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      nvda should say that focus returned to the editing field and, if select all item is used, text in the editor is selected.
      ACTUAL -
      after enter press nvda speaks nothing.
      by pressing ins+tab we can know that nvda thinks that focus still on the selected menu item.

      mor details, including nvda logs, can be found in the mentioned github issue.

      CUSTOMER SUBMITTED WORKAROUND :
      if application has menu bar, I can press alt twice to jump to the menu bar and return to the main area.
      after this focused control is reported correctly.

      FREQUENCY : always


      Attachments

        Activity

          People

            arapte Ambarish Rapte
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: