From 9749a436418a2e2bcd1571e2fd6f16e3461cf883 Mon Sep 17 00:00:00 2001 From: Artem Semenov Date: Fri, 9 Dec 2022 20:05:19 +0000 Subject: [PATCH] 8298457: Instructions in a11y manual tests need to be updated Reviewed-by: kizune, serb --- test/jdk/java/awt/a11y/AccessibleActionsTest.java | 4 ++-- test/jdk/java/awt/a11y/AccessibleJTabbedPaneTest.java | 2 +- test/jdk/java/awt/a11y/AccessibleTextTest.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/jdk/java/awt/a11y/AccessibleActionsTest.java b/test/jdk/java/awt/a11y/AccessibleActionsTest.java index 8a916d5527f..3f3f191a099 100644 --- a/test/jdk/java/awt/a11y/AccessibleActionsTest.java +++ b/test/jdk/java/awt/a11y/AccessibleActionsTest.java @@ -57,7 +57,7 @@ public class AccessibleActionsTest extends AccessibleComponentTest { + "Check a11y actions.\n\n" + "Turn screen reader on, and Tab to the label.\n\n" + "Perform the VO action \"Press\" (VO+space)\n" - + "Perform the VO action \"Show menu\" (VO+Shift+m)\n\n" + + "Perform the VO action \"Show menu\" (Shift+VO+m)\n\n" + "If after the first action the text of the label has changed, and after the second action the menu appears tab further and press PASS, otherwise press FAIL."; exceptionString = "AccessibleAction test failed!"; @@ -67,7 +67,7 @@ public class AccessibleActionsTest extends AccessibleComponentTest { void createTree() { INSTRUCTIONS = "INSTRUCTIONS:\n" + "Check a11y actions.\n\n" - + "Turn screen reader on, and Tab to the label.\n\n" + + "Turn screen reader on, and Tab to the tree.\n\n" + "Perform the VO action \"Press\" (VO+space) on tree nodes\n\n" + "If after press the tree node is expanded tab further and press PASS, otherwise press FAIL."; diff --git a/test/jdk/java/awt/a11y/AccessibleJTabbedPaneTest.java b/test/jdk/java/awt/a11y/AccessibleJTabbedPaneTest.java index f03af5d3a09..28da76bc17c 100644 --- a/test/jdk/java/awt/a11y/AccessibleJTabbedPaneTest.java +++ b/test/jdk/java/awt/a11y/AccessibleJTabbedPaneTest.java @@ -52,7 +52,7 @@ public class AccessibleJTabbedPaneTest extends AccessibleComponentTest { INSTRUCTIONS = "INSTRUCTIONS:\n" + "Check a11y of JTabbedPane.\n\n" + "Turn screen reader on, and tab to the JTabbedPane.\n" - + "Use page up and page down arrow buttons to move through the tabs.\n\n" + + "Use the left and right arrow buttons to move through the tabs.\n\n" + "If you can hear selected tab names tab further and press PASS, otherwise press FAIL.\n"; JTabbedPane tabbedPane = new JTabbedPane(); diff --git a/test/jdk/java/awt/a11y/AccessibleTextTest.java b/test/jdk/java/awt/a11y/AccessibleTextTest.java index 542d7bde082..0acb14ff694 100644 --- a/test/jdk/java/awt/a11y/AccessibleTextTest.java +++ b/test/jdk/java/awt/a11y/AccessibleTextTest.java @@ -58,8 +58,8 @@ public class AccessibleTextTest extends AccessibleComponentTest { + "Check a11y of JLabel.\n\n" + "Turn screen reader on.\n" + "On MacOS, use the VO navigation keys to read the label text;\n" - + "ON Windows with JAWS, use window virtualization (insert+alt+w and arrows) to read the label text;\n" - + "ON Windows with NVDA, use the browse cursor (insert+num4 or insert+num6) to read the label text;\n\n" + + "On Windows with JAWS, use JAWS cursor (num_minus and arrows) to read the label text;\n" + + "On Windows with NVDA, use the object navigation (insert+num4 or insert+num6) to read the label text;\n\n" + "If you can hear text from label tab further and press PASS, otherwise press FAIL."; JLabel label = new JLabel("this is a label");