Test Case Summary

Test Case ID

TCID: TC05.1-2-fail-2

TC Version: 1

Baseline Version: 3.1

Applicable Standard:

Test Case Description

The page has five buttons below a question.

When a button is activated, content is revealed. The content consists of a new question and what appears to be a textbox. When the content is revelead, focus is placed within the textbox.

Upon examining the textbox element markup, a tester will discover that the element does not have an accurate role that describes the purpose of the element.

The textbox element is a div element with contenteditable attribute and no role attribute. The element has an aria-label with a value of “Because” which is also not descriptive of the element’s role.

A successful test should identify a FAIL against Baseline 5.1 Changing Content.

Applicable ICT Baseline Test

Baseline test procedure 5.1 was not found in the baseline data.

Test Instruction: 2

Test Case Detail

Expected Baseline Result

Fail

After the revealed content appears, the role of one of the elements does not accurately describe the purpose of the element.

Test Data

Single-Page URL

Test Case Instruction

Test Instruction Instruction Detail Expected Test Case Result
IC-1 Identify changes in presented content (both user driven and automatic). Examples include changes to images, navigation trees, data table sort controls, automatic information updates, form elements, revealed content, etc. It may be necessary to use the mouse to determine whether state changes occur on hover or on click. Depending on the component, a change of state may be triggered by various actions, such as changing values or states of other components, toggling a function, entering data in the component, mouseover, etc. Activate a button and observe for changes to content.
1 Check that the page provides a notification of the change in content programmatically. [SC 4.1.2] Programmatic event notifications include alert dialogs, focus shifts to the content that changed, and ARIA live regions. Pass: Focus moves to the first focusable element within the revealed content.
2.b For each change in content, check that the combination of name, role, state, and value of the changed content is accurate. [SC 4.1.2] Role: the role accurately describes the purpose of the element after a change, if applicable. Consider ARIA role, element type, and other descriptive text. Fail: An element appears on screen and functions like a textbox but does not have a programmatically defined role such as “textbox”.