8298457: Instructions in a11y manual tests need to be updated

Reviewed-by: kizune, serb
This commit is contained in:
Artem Semenov 2022-12-09 20:05:19 +00:00
parent 7dbdd83da0
commit 9749a43641
3 changed files with 5 additions and 5 deletions

View File

@ -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.";

View File

@ -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();

View File

@ -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");