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 the focused input ('Street') is conveyed
requiredThe ability to enter text into the focused input 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 the focused input ('Street') is conveyed
requiredThe ability to enter text into the focused input 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 the focused input ('Street') is conveyed
requiredThe ability to enter text into the focused input 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 the focused input ('Street') is conveyed
requiredThe ability to enter text into the focused input 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 the focused input ('Street') is conveyed
requiredThe ability to enter text into the focused input 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 an input inside a modal dialog, close the dialog. using the following commands:
    • Escape

Assertions

PriorityAssertion
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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 an input inside a modal dialog, close the dialog. using the following commands:
    • Escape

Assertions

PriorityAssertion
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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 an input inside a modal dialog, close the dialog. using the following commands:
    • Escape

Assertions

PriorityAssertion
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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 an input inside a modal dialog, close the dialog. using the following commands:
    • Escape

Assertions

PriorityAssertion
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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 an input inside a modal dialog, close the dialog. using the following commands:
    • Escape

Assertions

PriorityAssertion
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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, press the button to close the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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, press the button to close the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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, press the button to close the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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, press the button to close the dialog. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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, press the button to close the dialog. using the following commands:
    • Control+Option+Space
    • Space
    • Enter

Assertions

PriorityAssertion
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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 first focusable element inside a modal dialog, navigate to the last focusable element 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 first focusable element inside a modal dialog, navigate to the last focusable element 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 first focusable element inside a modal dialog, navigate to the last focusable element 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 last focusable element inside a modal dialog, navigate to the first focusable element in the same dialog. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredName 'Street' is conveyed
requiredThe ability to enter 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 last focusable element inside a modal dialog, navigate to the first focusable element in the same dialog. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredName 'Street' is conveyed
requiredThe ability to enter 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 last focusable element inside a modal dialog, navigate to the first focusable element in the same dialog. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredName 'Street' is conveyed
requiredThe ability to enter 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 an input inside a modal dialog, navigate to the beginning of the dialog. using the following commands:
    • Control+Home followed by Down Arrow

Assertions

PriorityAssertion
requiredRole 'heading' is conveyed
requiredLevel of the heading (2) is conveyed
requiredText of the heading ('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 an input inside a modal dialog, navigate to the beginning of the dialog. using the following commands:
    • Control+Home

Assertions

PriorityAssertion
requiredRole 'heading' is conveyed
requiredLevel of the heading (2) is conveyed
requiredText of the heading ('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 an 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
requiredLevel of the heading (2) is conveyed
requiredText of the heading ('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 an 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 an 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 an 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
requiredDescription of the dialog ('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.') is conveyed
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
requiredDescription of the dialog ('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.') is conveyed
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
requiredDescription of the dialog ('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.') is conveyed
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
requiredDescription of the dialog ('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.') is conveyed
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
requiredDescription of the dialog ('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.') is conveyed
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 of the focused element ('button') is conveyed
requiredName of the focused element ('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 of the focused element ('button') is conveyed
requiredName of the focused element ('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 of the focused element ('button') is conveyed
requiredName of the focused element ('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 of the focused element ('button') is conveyed
requiredName of the focused element ('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 of the focused element ('button') is conveyed
requiredName of the focused element ('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, press 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 of the focused element ('button') is conveyed
requiredName of the focused element ('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, press 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 of the focused element ('button') is conveyed
requiredName of the focused element ('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, press 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 of the focused element ('button') is conveyed
requiredName of the focused element ('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, press 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 of the focused element ('button') is conveyed
requiredName of the focused element ('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, press 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 of the focused element ('button') is conveyed
requiredName of the focused element ('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
requiredDescription of the dialog ('You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.') is conveyed
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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
requiredDescription of the dialog ('You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.') is conveyed
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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
requiredDescription of the dialog ('You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.') is conveyed
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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
requiredDescription of the dialog ('You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.') is conveyed
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('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
requiredDescription of the dialog ('You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.') is conveyed
requiredRole of the focused element ('button') is conveyed
requiredName of the focused element ('Close') is conveyed