On Thu, 2 Jun 2022 16:07:37 GMT, Artem Semenov <aseme...@openjdk.org> wrote:
> The NSAccessibilityShouMinuAction action does not show the menu for the text > element. > Steps to reproduce: > 1. redefine the accessible context with the addition of the toggle popup > action; > 2. run on macOS with VoiceOver enabled; > 3. try to call the context menu in the editor by pressing vo+shift+m. > > @azuev-java please review. test/jdk/java/awt/a11y/AccessibleActionsTest.java line 100: > 98: AccessibleComponentTest.INSTRUCTIONS = "INSTRUCTIONS:\n" > 99: + "Check a11y show context menu in editable JTextArea.\n\n" > 100: + "Turn screen reader on and press Tab to move to the text > area and vo+shif+m.\n\n" Just a small nit, can we use the same style of instructions, the previous tests use a separate text to press the VO shortcuts, here it could be something like this: "Turn screen reader on and press Tab to move to the text area" "Perform the VO action "Open a shortcut menu" (VO+Shift+m)\n\n" ------------- PR: https://git.openjdk.java.net/jdk/pull/8997