Modal Dialog Example Test Plan (29 tests)

Filter tests by covered assistive technology

Supporting Documentation

Test 1: Open a Modal Dialog in reading mode

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that sets focus on the 'Add Delivery Address' button.
  3. With the reading cursor on the 'Add Delivery Address' button, open the dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Name of input ('Street') is conveyed
MUST The ability to enter or edit text is conveyed

Enter: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Name of input ('Street') is conveyed
MUST The ability to enter or edit text is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that sets focus on the 'Add Delivery Address' button.
  3. With the reading cursor on the 'Add Delivery Address' button, open the dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Name of input ('Street') is conveyed
MUST The ability to enter or edit text is conveyed

Enter: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Name of input ('Street') is conveyed
MUST The ability to enter or edit text is conveyed

Test 2: Open a Modal Dialog in interaction mode

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that sets focus on the 'Add Delivery Address' button.
  3. With focus on the 'Add Delivery Address' button, open the dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Name of input ('Street') is conveyed
MUST The ability to enter or edit text is conveyed

Enter: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Name of input ('Street') is conveyed
MUST The ability to enter or edit text is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that sets focus on the 'Add Delivery Address' button.
  3. With focus on the 'Add Delivery Address' button, open the dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Name of input ('Street') is conveyed
MUST The ability to enter or edit text is conveyed

Enter: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Name of input ('Street') is conveyed
MUST The ability to enter or edit text is conveyed

Test 3: Open a Modal Dialog

VoiceOver for macOS

Instructions

  1. Configure VoiceOver with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that sets focus on the 'Add Delivery Address' button.
  3. With focus on the 'Add Delivery Address' button, open the dialog. Do this with each of the following commands or command sequences.
    • Control+Option+Space
    • Space
    • Enter

Control+Option+Space: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Name of input ('Street') is conveyed
MUST The ability to enter or edit text is conveyed

Space: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Name of input ('Street') is conveyed
MUST The ability to enter or edit text is conveyed

Enter: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Name of input ('Street') is conveyed
MUST The ability to enter or edit text is conveyed

Test 4: Close a modal dialog in reading mode

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With the reading cursor on the 'Street' input inside a modal dialog, close the dialog. Do this with each of the following commands or command sequences.
    • Escape

Escape: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With the reading cursor on the 'Street' input inside a modal dialog, close the dialog. Do this with each of the following commands or command sequences.
    • Escape

Escape: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

Test 5: Close a modal dialog in interaction mode

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With focus on the 'Street' input inside a modal dialog, close the dialog. Do this with each of the following commands or command sequences.
    • Escape, then Escape

Escape, then Escape: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With focus on the 'Street' input inside a modal dialog, close the dialog. Do this with each of the following commands or command sequences.
    • Escape, then Escape

Escape, then Escape: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

Test 6: Close a modal dialog

VoiceOver for macOS

Instructions

  1. Configure VoiceOver with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With focus on the 'Street' input inside a modal dialog, close the dialog. Do this with each of the following commands or command sequences.
    • Escape

Escape: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

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

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button.
  3. With the reading cursor on the 'Cancel' button inside a modal dialog, activate the button to close the dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

Enter: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button.
  3. With the reading cursor on the 'Cancel' button inside a modal dialog, activate the button to close the dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

Enter: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

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

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button.
  3. With focus on the 'Cancel' button inside a modal dialog, activate the button to close the dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

Enter: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button.
  3. With focus on the 'Cancel' button inside a modal dialog, activate the button to close the dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

Enter: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

Test 9: Close a modal dialog using a button

VoiceOver for macOS

Instructions

  1. Configure VoiceOver with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button.
  3. With focus on the 'Cancel' button inside a modal dialog, activate the button to close the dialog. Do this with each of the following commands or command sequences.
    • Control+Option+Space
    • Space
    • Enter

Control+Option+Space: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

Space: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

Enter: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Add Delivery Address' is conveyed

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

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With focus on the 'Street' input inside a modal dialog, navigate to the 'Cancel' button in the same dialog. Do this with each of the following commands or command sequences.
    • Shift+Tab

Shift+Tab: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Cancel' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With focus on the 'Street' input inside a modal dialog, navigate to the 'Cancel' button in the same dialog. Do this with each of the following commands or command sequences.
    • Shift+Tab

Shift+Tab: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Cancel' is conveyed

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

VoiceOver for macOS

Instructions

  1. Configure VoiceOver with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With focus on the 'Street' input inside a modal dialog, navigate to the 'Cancel' button in the same dialog. Do this with each of the following commands or command sequences.
    • Shift+Tab

Shift+Tab: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Cancel' is conveyed

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

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button.
  3. With focus on the 'Cancel' button inside a modal dialog, navigate to the 'Street' input in the same dialog. Do this with each of the following commands or command sequences.
    • Tab

Tab: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Name 'Street' is conveyed
MUST The ability to enter or edit text is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button.
  3. With focus on the 'Cancel' button inside a modal dialog, navigate to the 'Street' input in the same dialog. Do this with each of the following commands or command sequences.
    • Tab

Tab: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Name 'Street' is conveyed
MUST The ability to enter or edit text is conveyed

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

VoiceOver for macOS

Instructions

  1. Configure VoiceOver with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Cancel' button.
  3. With focus on the 'Cancel' button inside a modal dialog, navigate to the 'Street' input in the same dialog. Do this with each of the following commands or command sequences.
    • Tab

Tab: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Name 'Street' is conveyed
MUST The ability to enter or edit text is conveyed

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

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With the reading cursor on the 'Street' input inside a modal dialog, navigate to the beginning of the dialog. Do this with each of the following commands or command sequences.
    • Control+Home

Control+Home: 3 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'heading' is conveyed
MUST Heading level 2 is conveyed
MUST Name 'Add Delivery Address' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With the reading cursor on the 'Street' input inside a modal dialog, navigate to the beginning of the dialog. Do this with each of the following commands or command sequences.
    • Control+Home

Control+Home: 3 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'heading' is conveyed
MUST Heading level 2 is conveyed
MUST Name 'Add Delivery Address' is conveyed

Test 15: Navigate to the beginning of a modal dialog

VoiceOver for macOS

Instructions

  1. Configure VoiceOver with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With focus on the 'Street' input inside a modal dialog, navigate to the beginning of the dialog. Do this with each of the following commands or command sequences.
    • Control+Option+Home

Control+Option+Home: 3 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'heading' is conveyed
MUST Heading level 2 is conveyed
MUST Name 'Add Delivery Address' is conveyed

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

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With the reading cursor on the 'Street' input inside a modal dialog, navigate to the end of the dialog. Do this with each of the following commands or command sequences.
    • Control+End

Control+End: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Cancel' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With the reading cursor on the 'Street' input inside a modal dialog, navigate to the end of the dialog. Do this with each of the following commands or command sequences.
    • Control+End

Control+End: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Cancel' is conveyed

Test 17: Navigate to the end of a modal dialog

VoiceOver for macOS

Instructions

  1. Configure VoiceOver with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the first input.
  3. With focus on the 'Street' input inside a modal dialog, navigate to the end of the dialog. Do this with each of the following commands or command sequences.
    • Control+Option+End

Control+Option+End: 2 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'button' is conveyed
MUST Name 'Cancel' is conveyed

Test 18: Open a nested modal dialog in reading mode

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Add' button.
  3. With the reading cursor on the 'Add' button inside a modal dialog, open the nested 'Address Added' dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Address Added' is conveyed
MUST Dialog 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.
MUST Role of the focused element ('button') is conveyed
MUST Name of the focused element ('OK') is conveyed

Enter: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Address Added' is conveyed
MUST Dialog 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.
MUST Role of the focused element ('button') is conveyed
MUST Name of the focused element ('OK') is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Add' button.
  3. With the reading cursor on the 'Add' button inside a modal dialog, open the nested 'Address Added' dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Address Added' is conveyed
MUST Dialog 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.
MUST Role of the focused element ('button') is conveyed
MUST Name of the focused element ('OK') is conveyed

Enter: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Address Added' is conveyed
MUST Dialog 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.
MUST Role of the focused element ('button') is conveyed
MUST Name of the focused element ('OK') is conveyed

Test 19: Open a nested modal dialog in interaction mode

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Add' button.
  3. With focus on the 'Add' button inside a modal dialog, open the nested 'Address Added' dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Address Added' is conveyed
MUST Dialog 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.
MUST Role of the focused element ('button') is conveyed
MUST Name of the focused element ('OK') is conveyed

Enter: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Address Added' is conveyed
MUST Dialog 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.
MUST Role of the focused element ('button') is conveyed
MUST Name of the focused element ('OK') is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Add' button.
  3. With focus on the 'Add' button inside a modal dialog, open the nested 'Address Added' dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Address Added' is conveyed
MUST Dialog 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.
MUST Role of the focused element ('button') is conveyed
MUST Name of the focused element ('OK') is conveyed

Enter: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Address Added' is conveyed
MUST Dialog 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.
MUST Role of the focused element ('button') is conveyed
MUST Name of the focused element ('OK') is conveyed

Test 20: Open a nested modal dialog

VoiceOver for macOS

Instructions

  1. Configure VoiceOver with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' modal dialog, and sets focus on the 'Add' button.
  3. With focus on the 'Add' button inside a modal dialog, open the nested 'Address Added' dialog. Do this with each of the following commands or command sequences.
    • Control+Option+Space
    • Space
    • Enter

Control+Option+Space: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Address Added' is conveyed
MUST Dialog 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.
MUST Role of the focused element ('button') is conveyed
MUST Name of the focused element ('OK') is conveyed

Space: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Address Added' is conveyed
MUST Dialog 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.
MUST Role of the focused element ('button') is conveyed
MUST Name of the focused element ('OK') is conveyed

Enter: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Address Added' is conveyed
MUST Dialog 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.
MUST Role of the focused element ('button') is conveyed
MUST Name of the focused element ('OK') is conveyed

Test 21: Close a nested modal dialog in reading mode

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog.
  3. With the reading cursor on the 'Close' button inside a modal dialog, close the dialog. Do this with each of the following commands or command sequences.
    • Escape

Escape: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog.
  3. With the reading cursor on the 'Close' button inside a modal dialog, close the dialog. Do this with each of the following commands or command sequences.
    • Escape

Escape: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

Test 22: Close a nested modal dialog in interaction mode

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog.
  3. With focus on the 'Close' button inside a modal dialog, close the dialog. Do this with each of the following commands or command sequences.
    • Escape

Escape: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog.
  3. With focus on the 'Close' button inside a modal dialog, close the dialog. Do this with each of the following commands or command sequences.
    • Escape

Escape: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

Test 23: Close a nested modal dialog

VoiceOver for macOS

Instructions

  1. Configure VoiceOver with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog.
  3. With focus on the 'Close' button inside a modal dialog, close the dialog. Do this with each of the following commands or command sequences.
    • Escape

Escape: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

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

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog.
  3. With the reading cursor on the 'Close' button inside a modal dialog, activate the button to close the dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

Enter: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog.
  3. With the reading cursor on the 'Close' button inside a modal dialog, activate the button to close the dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

Enter: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

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

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog.
  3. With focus on the 'Close' button inside a modal dialog, activate the button to close the dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

Enter: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog.
  3. With focus on the 'Close' button inside a modal dialog, activate the button to close the dialog. Do this with each of the following commands or command sequences.
    • Space
    • Enter

Space: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

Enter: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

Test 26: Close a nested modal dialog using a button

VoiceOver for macOS

Instructions

  1. Configure VoiceOver with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Verification Result' dialog, and sets focus on the 'Close' button inside the second dialog.
  3. With focus on the 'Close' button inside a modal dialog, activate the button to close the dialog. Do this with each of the following commands or command sequences.
    • Control+Option+Space
    • Space
    • Enter

Control+Option+Space: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

Space: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

Enter: 4 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'Add Delivery Address' is conveyed
MUST Role 'button' is conveyed
MUST Name 'Verify Address' is conveyed

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

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Address Added' dialog, and sets focus on the 'your profile' link inside the second dialog.
  3. With the reading cursor on the 'your profile' link inside a modal dialog, open the nested 'End of the Road!' dialog. Do this with each of the following commands or command sequences.
    • Enter

Enter: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'End of the Road!' is conveyed
MUST Dialog Description is conveyed as: 'You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.'
MUST Role 'button' is conveyed
MUST Name 'Close' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Address Added' dialog, and sets focus on the 'your profile' link inside the second dialog.
  3. With the reading cursor on the 'your profile' link inside a modal dialog, open the nested 'End of the Road!' dialog. Do this with each of the following commands or command sequences.
    • Enter

Enter: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'End of the Road!' is conveyed
MUST Dialog Description is conveyed as: 'You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.'
MUST Role 'button' is conveyed
MUST Name 'Close' is conveyed

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

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Address Added' dialog, and sets focus on the 'your profile' link inside the second dialog.
  3. With focus on the 'your profile' link inside a modal dialog, open the nested 'End of the Road!' dialog. Do this with each of the following commands or command sequences.
    • Enter

Enter: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'End of the Road!' is conveyed
MUST Dialog Description is conveyed as: 'You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.'
MUST Role 'button' is conveyed
MUST Name 'Close' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Address Added' dialog, and sets focus on the 'your profile' link inside the second dialog.
  3. With focus on the 'your profile' link inside a modal dialog, open the nested 'End of the Road!' dialog. Do this with each of the following commands or command sequences.
    • Enter

Enter: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'End of the Road!' is conveyed
MUST Dialog Description is conveyed as: 'You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.'
MUST Role 'button' is conveyed
MUST Name 'Close' is conveyed

Test 29: Open a nested modal dialog using a link

VoiceOver for macOS

Instructions

  1. Configure VoiceOver with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that opens the 'Add Delivery Address' dialog followed by the 'Address Added' dialog, and sets focus on the 'your profile' link inside the second dialog.
  3. With focus on the 'your profile' link inside a modal dialog, open the nested 'End of the Road!' dialog. Do this with each of the following commands or command sequences.
    • Control+Option+Space
    • Enter

Control+Option+Space: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'End of the Road!' is conveyed
MUST Dialog Description is conveyed as: 'You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.'
MUST Role 'button' is conveyed
MUST Name 'Close' is conveyed

Enter: 5 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Statement
MUST Role 'dialog' is conveyed
MUST Name 'End of the Road!' is conveyed
MUST Dialog Description is conveyed as: 'You activated a fake link or button that goes nowhere! The link or button is present for demonstration purposes only.'
MUST Role 'button' is conveyed
MUST Name 'Close' is conveyed