Disabled HTML Button Element Test Plan (3 tests)

Filter tests by covered assistive technology

Supporting Documentation

Test 1: Navigate forwards to a disabled button

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.
  3. In the window that displays the example to test, activate the "Run Setup" button, which sets focus on a link before the disabled button.
  4. Starting at the 'Navigate forwards from here' link, navigate to the 'Print Page' button. Do this with each of the following commands or command sequences. If any settings are specified in parentheses, ensure the settings are active before executing the command or command sequence.
    • Down Arrow (virtual cursor active)
    • b (virtual cursor active)
    • f (virtual cursor active)

To perform a task with virtual cursor active:

  1. Press Alt+Delete to determine which cursor is active.
  2. If the PC cursor is active, press Escape to activate the virtual cursor.

Down Arrow (virtual cursor active): 3 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Phrase Assertion Statement
MUST convey role 'button' Role 'button' is conveyed
MUST convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MUST convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

b (virtual cursor active): 0 MUST, 0 SHOULD, AND 3 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MAY convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

f (virtual cursor active): 0 MUST, 0 SHOULD, AND 3 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MAY convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', 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.
  3. In the window that displays the example to test, activate the "Run Setup" button, which sets focus on a link before the disabled button.
  4. Starting at the 'Navigate forwards from here' link, navigate to the 'Print Page' button. Do this with each of the following commands or command sequences. If any settings are specified in parentheses, ensure the settings are active before executing the command or command sequence.
    • Down Arrow (browse mode on)
    • b (browse mode on)
    • f (browse mode on)

To perform a task with browse mode on:

  1. Press Insert+Space.
  2. If NVDA made the focus mode sound, press Insert+Space again to turn browse mode back on.

Down Arrow (browse mode on): 3 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Phrase Assertion Statement
MUST convey role 'button' Role 'button' is conveyed
MUST convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MUST convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

b (browse mode on): 0 MUST, 0 SHOULD, AND 3 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MAY convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

f (browse mode on): 0 MUST, 0 SHOULD, AND 3 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MAY convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

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.
  3. In the window that displays the example to test, activate the "Run Setup" button, which sets focus on a link before the disabled button.
  4. Starting at the 'Navigate forwards from here' link, navigate to the 'Print Page' button. Do this with each of the following commands or command sequences. If any settings are specified in parentheses, ensure the settings are active before executing the command or command sequence.
    • Control+Option+Right Arrow
    • j (single quick key nav on)
    • b (single quick key nav on)

To perform a task with single quick key nav on:

  1. Press Control+Option+q.
  2. If VoiceOver said 'single quick key nav off', press Control+Option+q again to turn it back on.

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

Priority Assertion Phrase Assertion Statement
MUST convey role 'button' Role 'button' is conveyed
MUST convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MUST convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

j (single quick key nav on): 0 MUST, 0 SHOULD, AND 3 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MAY convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

b (single quick key nav on): 0 MUST, 0 SHOULD, AND 3 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MAY convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

Test 2: Navigate backwards to a disabled button

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.
  3. In the window that displays the example to test, activate the "Run Setup" button, which sets focus on a link after the disabled button.
  4. Starting at the 'Navigate backwards from here' link, navigate to the 'Print Page' button. Do this with each of the following commands or command sequences. If any settings are specified in parentheses, ensure the settings are active before executing the command or command sequence.
    • Up Arrow (virtual cursor active)
    • Shift+b (virtual cursor active)
    • Shift+f (virtual cursor active)

To perform a task with virtual cursor active:

  1. Press Alt+Delete to determine which cursor is active.
  2. If the PC cursor is active, press Escape to activate the virtual cursor.

Up Arrow (virtual cursor active): 3 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Phrase Assertion Statement
MUST convey role 'button' Role 'button' is conveyed
MUST convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MUST convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

Shift+b (virtual cursor active): 0 MUST, 0 SHOULD, AND 3 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MAY convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

Shift+f (virtual cursor active): 0 MUST, 0 SHOULD, AND 3 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MAY convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', 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.
  3. In the window that displays the example to test, activate the "Run Setup" button, which sets focus on a link after the disabled button.
  4. Starting at the 'Navigate backwards from here' link, navigate to the 'Print Page' button. Do this with each of the following commands or command sequences. If any settings are specified in parentheses, ensure the settings are active before executing the command or command sequence.
    • Up Arrow (browse mode on)
    • Shift+b (browse mode on)
    • Shift+f (browse mode on)

To perform a task with browse mode on:

  1. Press Insert+Space.
  2. If NVDA made the focus mode sound, press Insert+Space again to turn browse mode back on.

Up Arrow (browse mode on): 3 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Phrase Assertion Statement
MUST convey role 'button' Role 'button' is conveyed
MUST convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MUST convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

Shift+b (browse mode on): 0 MUST, 0 SHOULD, AND 3 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MAY convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

Shift+f (browse mode on): 0 MUST, 0 SHOULD, AND 3 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MAY convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

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.
  3. In the window that displays the example to test, activate the "Run Setup" button, which sets focus on a link after the disabled button.
  4. Starting at the 'Navigate backwards from here' link, navigate to the 'Print Page' button. Do this with each of the following commands or command sequences. If any settings are specified in parentheses, ensure the settings are active before executing the command or command sequence.
    • Control+Option+Left Arrow
    • Shift+j (single quick key nav on)
    • Shift+b (single quick key nav on)

To perform a task with single quick key nav on:

  1. Press Control+Option+q.
  2. If VoiceOver said 'single quick key nav off', press Control+Option+q again to turn it back on.

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

Priority Assertion Phrase Assertion Statement
MUST convey role 'button' Role 'button' is conveyed
MUST convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MUST convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

Shift+j (single quick key nav on): 0 MUST, 0 SHOULD, AND 3 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MAY convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

Shift+b (single quick key nav on): 0 MUST, 0 SHOULD, AND 3 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MAY convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

Test 3: Request information about a disabled button

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.
  3. In the window that displays the example to test, activate the "Run Setup" button, which sets focus on a span containing the disabled button.
  4. Starting at the 'Print Page' button, read informationabout the button. Do this with each of the following commands or command sequences. If any settings are specified in parentheses, ensure the settings are active before executing the command or command sequence.
    • Insert+Tab (virtual cursor active)
    • Insert+Up Arrow (virtual cursor active)

To perform a task with virtual cursor active:

  1. Press Alt+Delete to determine which cursor is active.
  2. If the PC cursor is active, press Escape to activate the virtual cursor.

Insert+Tab (virtual cursor active): 1 MUST, 0 SHOULD, AND 2 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MUST convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

Insert+Up Arrow (virtual cursor active): 3 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Phrase Assertion Statement
MUST convey role 'button' Role 'button' is conveyed
MUST convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MUST convey state of the button, 'disabled' State of the button, 'disabled', 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.
  3. In the window that displays the example to test, activate the "Run Setup" button, which sets focus on a span containing the disabled button.
  4. Starting at the 'Print Page' button, read informationabout the button. Do this with each of the following commands or command sequences. If any settings are specified in parentheses, ensure the settings are active before executing the command or command sequence.
    • Insert+Tab (browse mode on)
    • Insert+Up Arrow (browse mode on)

To perform a task with browse mode on:

  1. Press Insert+Space.
  2. If NVDA made the focus mode sound, press Insert+Space again to turn browse mode back on.

Insert+Tab (browse mode on): 1 MUST, 0 SHOULD, AND 2 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MUST convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

Insert+Up Arrow (browse mode on): 3 MUST, 0 SHOULD, AND 0 MAY assertions

Priority Assertion Phrase Assertion Statement
MUST convey role 'button' Role 'button' is conveyed
MUST convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MUST convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

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.
  3. In the window that displays the example to test, activate the "Run Setup" button, which sets focus on a span containing the disabled button.
  4. Starting at the 'Print Page' button, read informationabout the button. Do this with each of the following commands or command sequences.
    • Control+Option+F3
    • Control+Option+F4

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

Priority Assertion Phrase Assertion Statement
MUST convey role 'button' Role 'button' is conveyed
MUST convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MUST convey state of the button, 'disabled' State of the button, 'disabled', is conveyed

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

Priority Assertion Phrase Assertion Statement
MAY convey role 'button' Role 'button' is conveyed
MUST convey name of the button, 'Print Page' Name of the button, 'Print Page', is conveyed
MAY convey state of the button, 'disabled' State of the button, 'disabled', is conveyed