Test plan review for pattern: modal-dialog (29 tests)

Filter tests by assistive technology

Test 1: Open a Modal Dialog in reading mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. sets focus on the 'Add Delivery Address' button

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Add Delivery Address' button, open the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredName of input ('Street') is conveyed
requiredThe ability to enter or edit text is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. sets focus on the 'Add Delivery Address' button

Tester Instructions

  1. Insure NVDA is in browse mode by pressing Escape. Note: This command has no effect if NVDA is already in browse mode.
  2. With the reading cursor on the 'Add Delivery Address' button, open the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredName of input ('Street') is conveyed
requiredThe ability to enter or edit text is conveyed

Test 2: Open a Modal Dialog in interaction mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. sets focus on the 'Add Delivery Address' button

Tester Instructions

  1. Verify the PC Cursor is active by pressing Alt+Delete. If it is not, turn off the Virtual Cursor by pressing Insert+Z.
  2. With focus on the 'Add Delivery Address' button, open the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredName of input ('Street') is conveyed
requiredThe ability to enter or edit text is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. sets focus on the 'Add Delivery Address' button

Tester Instructions

  1. If NVDA did not make the focus mode sound when the test page loaded, press Insert+Space to turn focus mode on.
  2. With focus on the 'Add Delivery Address' button, open the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredName of input ('Street') is conveyed
requiredThe ability to enter or edit text is conveyed

Test 3: Open a Modal Dialog

VoiceOver for macOS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. sets focus on the 'Add Delivery Address' button

Tester Instructions

  1. Toggle Quick Nav OFF by pressing the Left Arrow and Right Arrow keys at the same time.
  2. With focus on the 'Add Delivery Address' button, open the dialog. using the following commands:
    • Control+Option+Space
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredName of input ('Street') is conveyed
requiredThe ability to enter or edit text is conveyed

Test 4: Close a modal dialog in reading mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Street' input inside a modal dialog, close the dialog. using the following commands:
    • Escape

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Add Delivery Address' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. Insure NVDA is in browse mode by pressing Escape. Note: This command has no effect if NVDA is already in browse mode.
  2. With the reading cursor on the 'Street' input inside a modal dialog, close the dialog. using the following commands:
    • Escape

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Add Delivery Address' is conveyed

Test 5: Close a modal dialog in interaction mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. Verify the PC Cursor is active by pressing Alt+Delete. If it is not, turn off the Virtual Cursor by pressing Insert+Z.
  2. With focus on the 'Street' input inside a modal dialog, close the dialog. using the following commands:
    • Escape, then Escape

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Add Delivery Address' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. If NVDA did not make the focus mode sound when the test page loaded, press Insert+Space to turn focus mode on.
  2. With focus on the 'Street' input inside a modal dialog, close the dialog. using the following commands:
    • Escape, then Escape

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Add Delivery Address' is conveyed

Test 6: Close a modal dialog

VoiceOver for macOS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. Toggle Quick Nav OFF by pressing the Left Arrow and Right Arrow keys at the same time.
  2. With focus on the 'Street' input inside a modal dialog, close the dialog. using the following commands:
    • Escape

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Add Delivery Address' is conveyed

Test 7: Close a modal dialog using a button in reading mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Cancel' button inside a modal dialog, activate the button to close the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Add Delivery Address' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button

Tester Instructions

  1. Insure NVDA is in browse mode by pressing Escape. Note: This command has no effect if NVDA is already in browse mode.
  2. With the reading cursor on the 'Cancel' button inside a modal dialog, activate the button to close the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Add Delivery Address' is conveyed

Test 8: Close a modal dialog using a button in interaction mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button

Tester Instructions

  1. Verify the PC Cursor is active by pressing Alt+Delete. If it is not, turn off the Virtual Cursor by pressing Insert+Z.
  2. With focus on the 'Cancel' button inside a modal dialog, activate the button to close the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Add Delivery Address' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button

Tester Instructions

  1. If NVDA did not make the focus mode sound when the test page loaded, press Insert+Space to turn focus mode on.
  2. With focus on the 'Cancel' button inside a modal dialog, activate the button to close the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Add Delivery Address' is conveyed

Test 9: Close a modal dialog using a button

VoiceOver for macOS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button

Tester Instructions

  1. Toggle Quick Nav OFF by pressing the Left Arrow and Right Arrow keys at the same time.
  2. With focus on the 'Cancel' button inside a modal dialog, activate the button to close the dialog. using the following commands:
    • Control+Option+Space
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Add Delivery Address' is conveyed

Test 10: Navigate to the last focusable element in a modal dialog in interaction mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. Verify the PC Cursor is active by pressing Alt+Delete. If it is not, turn off the Virtual Cursor by pressing Insert+Z.
  2. With focus on the 'Street' input inside a modal dialog, navigate to the 'Cancel' button in the same dialog. using the following commands:
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Cancel' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. If NVDA did not make the focus mode sound when the test page loaded, press Insert+Space to turn focus mode on.
  2. With focus on the 'Street' input inside a modal dialog, navigate to the 'Cancel' button in the same dialog. using the following commands:
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Cancel' is conveyed

Test 11: Navigate to the last focusable element in a modal dialog

VoiceOver for macOS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. Toggle Quick Nav OFF by pressing the Left Arrow and Right Arrow keys at the same time.
  2. With focus on the 'Street' input inside a modal dialog, navigate to the 'Cancel' button in the same dialog. using the following commands:
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Cancel' is conveyed

Test 12: Navigate to the first focusable element in a modal dialog in interaction mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button

Tester Instructions

  1. Verify the PC Cursor is active by pressing Alt+Delete. If it is not, turn off the Virtual Cursor by pressing Insert+Z.
  2. With focus on the 'Cancel' button inside a modal dialog, navigate to the 'Street' input in the same dialog. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredName 'Street' is conveyed
requiredThe ability to enter or edit text is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button

Tester Instructions

  1. If NVDA did not make the focus mode sound when the test page loaded, press Insert+Space to turn focus mode on.
  2. With focus on the 'Cancel' button inside a modal dialog, navigate to the 'Street' input in the same dialog. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredName 'Street' is conveyed
requiredThe ability to enter or edit text is conveyed

Test 13: Navigate to the first focusable element in a modal dialog

VoiceOver for macOS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button

Tester Instructions

  1. Toggle Quick Nav OFF by pressing the Left Arrow and Right Arrow keys at the same time.
  2. With focus on the 'Cancel' button inside a modal dialog, navigate to the 'Street' input in the same dialog. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredName 'Street' is conveyed
requiredThe ability to enter or edit text is conveyed

Test 14: Navigate to the beginning of a modal dialog in reading mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Street' input inside a modal dialog, navigate to the beginning of the dialog. using the following commands:
    • Control+Home

Assertions

PriorityAssertion
requiredRole 'heading' is conveyed
requiredHeading level 2 is conveyed
requiredName 'Add Delivery Address' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. Insure NVDA is in browse mode by pressing Escape. Note: This command has no effect if NVDA is already in browse mode.
  2. With the reading cursor on the 'Street' input inside a modal dialog, navigate to the beginning of the dialog. using the following commands:
    • Control+Home

Assertions

PriorityAssertion
requiredRole 'heading' is conveyed
requiredHeading level 2 is conveyed
requiredName 'Add Delivery Address' is conveyed

Test 15: Navigate to the beginning of a modal dialog

VoiceOver for macOS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. Toggle Quick Nav OFF by pressing the Left Arrow and Right Arrow keys at the same time.
  2. With focus on the 'Street' input inside a modal dialog, navigate to the beginning of the dialog. using the following commands:
    • Control+Option+Home

Assertions

PriorityAssertion
requiredRole 'heading' is conveyed
requiredHeading level 2 is conveyed
requiredName 'Add Delivery Address' is conveyed

Test 16: Navigate to the end of a modal dialog in reading mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Street' input inside a modal dialog, navigate to the end of the dialog. using the following commands:
    • Control+End

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Cancel' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. Insure NVDA is in browse mode by pressing Escape. Note: This command has no effect if NVDA is already in browse mode.
  2. With the reading cursor on the 'Street' input inside a modal dialog, navigate to the end of the dialog. using the following commands:
    • Control+End

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Cancel' is conveyed

Test 17: Navigate to the end of a modal dialog

VoiceOver for macOS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the first input

Tester Instructions

  1. Toggle Quick Nav OFF by pressing the Left Arrow and Right Arrow keys at the same time.
  2. With focus on the 'Street' input inside a modal dialog, navigate to the end of the dialog. using the following commands:
    • Control+Option+End

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Cancel' is conveyed

Test 18: Open a nested modal dialog in reading mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Add' button

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Add' button inside a modal dialog, open the nested 'Address Added' dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Address Added' is conveyed
requiredDialog Description is conveyed as: 'The address you provided has been added to your list of delivery addresses. It is ready for immediate use. If you wish to remove it, you can do so from your profile.
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('OK') is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Add' button

Tester Instructions

  1. Insure NVDA is in browse mode by pressing Escape. Note: This command has no effect if NVDA is already in browse mode.
  2. With the reading cursor on the 'Add' button inside a modal dialog, open the nested 'Address Added' dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Address Added' is conveyed
requiredDialog Description is conveyed as: 'The address you provided has been added to your list of delivery addresses. It is ready for immediate use. If you wish to remove it, you can do so from your profile.
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('OK') is conveyed

Test 19: Open a nested modal dialog in interaction mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Add' button

Tester Instructions

  1. Verify the PC Cursor is active by pressing Alt+Delete. If it is not, turn off the Virtual Cursor by pressing Insert+Z.
  2. With focus on the 'Add' button inside a modal dialog, open the nested 'Address Added' dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Address Added' is conveyed
requiredDialog Description is conveyed as: 'The address you provided has been added to your list of delivery addresses. It is ready for immediate use. If you wish to remove it, you can do so from your profile.
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('OK') is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Add' button

Tester Instructions

  1. If NVDA did not make the focus mode sound when the test page loaded, press Insert+Space to turn focus mode on.
  2. With focus on the 'Add' button inside a modal dialog, open the nested 'Address Added' dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Address Added' is conveyed
requiredDialog Description is conveyed as: 'The address you provided has been added to your list of delivery addresses. It is ready for immediate use. If you wish to remove it, you can do so from your profile.
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('OK') is conveyed

Test 20: Open a nested modal dialog

VoiceOver for macOS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Add' button

Tester Instructions

  1. Toggle Quick Nav OFF by pressing the Left Arrow and Right Arrow keys at the same time.
  2. With focus on the 'Add' button inside a modal dialog, open the nested 'Address Added' dialog. using the following commands:
    • Control+Option+Space
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Address Added' is conveyed
requiredDialog Description is conveyed as: 'The address you provided has been added to your list of delivery addresses. It is ready for immediate use. If you wish to remove it, you can do so from your profile.
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('OK') is conveyed

Test 21: Close a nested modal dialog in reading mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Close' button inside a modal dialog, close the dialog. using the following commands:
    • Escape

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredRole 'button' is conveyed
requiredName 'Verify Address' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog

Tester Instructions

  1. Insure NVDA is in browse mode by pressing Escape. Note: This command has no effect if NVDA is already in browse mode.
  2. With the reading cursor on the 'Close' button inside a modal dialog, close the dialog. using the following commands:
    • Escape

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredRole 'button' is conveyed
requiredName 'Verify Address' is conveyed

Test 22: Close a nested modal dialog in interaction mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog

Tester Instructions

  1. Verify the PC Cursor is active by pressing Alt+Delete. If it is not, turn off the Virtual Cursor by pressing Insert+Z.
  2. With focus on the 'Close' button inside a modal dialog, close the dialog. using the following commands:
    • Escape

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredRole 'button' is conveyed
requiredName 'Verify Address' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog

Tester Instructions

  1. If NVDA did not make the focus mode sound when the test page loaded, press Insert+Space to turn focus mode on.
  2. With focus on the 'Close' button inside a modal dialog, close the dialog. using the following commands:
    • Escape

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredRole 'button' is conveyed
requiredName 'Verify Address' is conveyed

Test 23: Close a nested modal dialog

VoiceOver for macOS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog

Tester Instructions

  1. Toggle Quick Nav OFF by pressing the Left Arrow and Right Arrow keys at the same time.
  2. With focus on the 'Close' button inside a modal dialog, close the dialog. using the following commands:
    • Escape

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredRole 'button' is conveyed
requiredName 'Verify Address' is conveyed

Test 24: Close a nested modal dialog using a button in reading mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Close' button inside a modal dialog, activate the button to close the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredRole 'button' is conveyed
requiredName 'Verify Address' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog

Tester Instructions

  1. Insure NVDA is in browse mode by pressing Escape. Note: This command has no effect if NVDA is already in browse mode.
  2. With the reading cursor on the 'Close' button inside a modal dialog, activate the button to close the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredRole 'button' is conveyed
requiredName 'Verify Address' is conveyed

Test 25: Close a nested modal dialog using a button in interaction mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog

Tester Instructions

  1. Verify the PC Cursor is active by pressing Alt+Delete. If it is not, turn off the Virtual Cursor by pressing Insert+Z.
  2. With focus on the 'Close' button inside a modal dialog, activate the button to close the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredRole 'button' is conveyed
requiredName 'Verify Address' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog

Tester Instructions

  1. If NVDA did not make the focus mode sound when the test page loaded, press Insert+Space to turn focus mode on.
  2. With focus on the 'Close' button inside a modal dialog, activate the button to close the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredRole 'button' is conveyed
requiredName 'Verify Address' is conveyed

Test 26: Close a nested modal dialog using a button

VoiceOver for macOS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog

Tester Instructions

  1. Toggle Quick Nav OFF by pressing the Left Arrow and Right Arrow keys at the same time.
  2. With focus on the 'Close' button inside a modal dialog, activate the button to close the dialog. using the following commands:
    • Control+Option+Space
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'Add Delivery Address' is conveyed
requiredRole 'button' is conveyed
requiredName 'Verify Address' is conveyed

Test 27: Open a nested modal dialog using a link in reading mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Address Added' dialog, and sets focus on the 'your profile' link inside the second dialog

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'your profile' link inside a modal dialog, open the nested 'End of the Road!' dialog. using the following commands:
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'End of the Road!' is conveyed
requiredDialog Description is conveyed as: 'You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.'
requiredRole 'button' is conveyed
requiredName 'Close' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Address Added' dialog, and sets focus on the 'your profile' link inside the second dialog

Tester Instructions

  1. Insure NVDA is in browse mode by pressing Escape. Note: This command has no effect if NVDA is already in browse mode.
  2. With the reading cursor on the 'your profile' link inside a modal dialog, open the nested 'End of the Road!' dialog. using the following commands:
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'End of the Road!' is conveyed
requiredDialog Description is conveyed as: 'You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.'
requiredRole 'button' is conveyed
requiredName 'Close' is conveyed

Test 28: Open a nested modal dialog using a link in interaction mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Address Added' dialog, and sets focus on the 'your profile' link inside the second dialog

Tester Instructions

  1. Verify the PC Cursor is active by pressing Alt+Delete. If it is not, turn off the Virtual Cursor by pressing Insert+Z.
  2. With focus on the 'your profile' link inside a modal dialog, open the nested 'End of the Road!' dialog. using the following commands:
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'End of the Road!' is conveyed
requiredDialog Description is conveyed as: 'You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.'
requiredRole 'button' is conveyed
requiredName 'Close' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Address Added' dialog, and sets focus on the 'your profile' link inside the second dialog

Tester Instructions

  1. If NVDA did not make the focus mode sound when the test page loaded, press Insert+Space to turn focus mode on.
  2. With focus on the 'your profile' link inside a modal dialog, open the nested 'End of the Road!' dialog. using the following commands:
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'End of the Road!' is conveyed
requiredDialog Description is conveyed as: 'You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.'
requiredRole 'button' is conveyed
requiredName 'Close' is conveyed

Test 29: Open a nested modal dialog using a link

VoiceOver for macOS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. opens the 'Add Delivery Address' dialog followed by the 'Address Added' dialog, and sets focus on the 'your profile' link inside the second dialog

Tester Instructions

  1. Toggle Quick Nav OFF by pressing the Left Arrow and Right Arrow keys at the same time.
  2. With focus on the 'your profile' link inside a modal dialog, open the nested 'End of the Road!' dialog. using the following commands:
    • Control+Option+Space
    • Enter

Assertions

PriorityAssertion
requiredRole 'dialog' is conveyed
requiredName 'End of the Road!' is conveyed
requiredDialog Description is conveyed as: 'You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.'
requiredRole 'button' is conveyed
requiredName 'Close' is conveyed