Replies: 8 comments 24 replies
-
Please leave all comments about discussion topic 1 on this thread.
|
Beta Was this translation helpful? Give feedback.
-
Please leave all comments about discussion topic 2 on this thread.
|
Beta Was this translation helpful? Give feedback.
-
Please leave all comments about discussion topic 3 on this thread.
|
Beta Was this translation helpful? Give feedback.
-
Please leave all comments about discussion topic 4 on this thread.
|
Beta Was this translation helpful? Give feedback.
-
Please leave all comments about discussion topic 5 on this thread.
let event = new Event('acttfNextAction', {cancelable: true}); // Cancelable required
document.dispatchEvent(event); // Step 1: Fills out form, returns true
document.dispatchEvent(event); // Step 2: Submits form, returns true
document.dispatchEvent(event); // Step 3: Nothing left, returns false |
Beta Was this translation helpful? Give feedback.
-
For anyone looking, here are the exampled put into codepen so they can be previewed: Status Messages are Announced, Passed Example 1 |
Beta Was this translation helpful? Give feedback.
-
Please leave all comments about discussion topic 6 on this thread.
In our ACTTF call on 4/20/2023, the question was asked if the test cases would include descriptions about how to reach each state and what the expected state should look like. This began a discussion about if the act of finding new states in pages is part of WCAG requirements. After discussion, it was agreed that finding new states is part of satisfying WCAG requirements and thus should not be included in the test description. This means that for manual testers testing on stateful rules, their procedure will be required to include the steps necessary to find the states within the page. If the procedure does not find the states needed to accurately assess the page, then the test procedure will not report correct results. While this is an important distinction, I would note that for practical purposes, these rules are extremely simple and finding the states required to accurately test the rule for each test case is likely to be trivial. |
Beta Was this translation helpful? Give feedback.
-
Notes on state transitions (to be cleaned up later):
|
Beta Was this translation helpful? Give feedback.
-
The task force is currently drafting up changes that may be made in the next version of the ACT format. The rule below shows some examples of new features we have discussed including in the new format as a way to begin discussions. For this rule, the main discussion points are given below:
<elements that will become the test targets>
, where<element condition is met>
after<action taken by tester>
.acttfNextAction
that should be called on thedocument
element until it returns false. Some sample code for a 2 step example is included below (I unrolled the loop, in actuality you would loop until it returns false).See #1953 for the discussion leading up to this example rule.
id:
name: Status Messages are Announced to User
rule_type: atomic
description: |
This rule checks that status messages use a live region role or aria-live to notify users.
accessibility_requirements: # Remove whatever is not applicable
wcag20:4.1.3: # (A | AA | AAA)
forConformance: true
failed: not satisfied
passed: further testing needed
inapplicable: further testing needed
aria12:live_region_roles: #
title: 5.3.5 Live Region Roles
forConformance: false
failed: not satisfied
passed: further testing needed
inapplicable: further testing needed
input_aspects:
acknowledgments:
authors:
Applicability
For each [HTML element] containing [visible text], where this text appeared after the [activation] of an [HTML element] with one of the following roles without gaining focus:
Exceptions (NEW SECTION! SEE COMMENTS ABOVE)
Expectation
Each test target must meet one of the following criteria or have an ancestor that meets the following criteria:
alert
,status
,log
, ortimer
.aria-live
attribute where the value is eitherpolite
orassertive
Assumptions
There are no assumptions.
Accessibility Support
There are no accessibility support issues known.
Background
The list of applicable semantic roles is derived by taking all the ARIA 1.1 roles that:
The Exceptions in the applicability are derived from the WCAG 2.1. definition of status messages
Test Cases
Passed
Passed Example 1
A success status message becomes visible after successfully completing the form and the status message is available to assistive technology by using
role=status
, so the test target passes the Live Region Role criteria.Tester Steps:
Passed Example 2
Status messages about the progress of the NASA launch progress are displayed and available to assistive technology through the use of
role="log"
, so the example passes since the test target has an ancestor element that meets the Live Region Role criteria.Tester Steps:
Failed
Failed Example 1
A success status message becomes visible after successfully completing the form, but the status message is not available to assistive technology since no live region role or
aria-live
attribute is used.Tester Steps:
Failed Example 2
Status messages about the progress of the NASA launch progress are displayed as [visible text], but are not available to assistive technology since no live region role or
aria-live
attribute is used.Tester Steps:
Inapplicable
Inapplicable Example 1
The example shows updates to stock, which falls under the Not a Status Message exception.
Tester Steps:
Inapplicable Example 2
Focus is placed on the status message when the form is submitted, so no change of context occurs.
Tester Steps:
Beta Was this translation helpful? Give feedback.
All reactions