-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SC2-1-2-no-keyboard-trap-non-standard-navigation (Updated) #68
Comments
Just saw this and I have seen components that can be only exited through a space key – not sure if you want to include this as a possible means of escape or deliberately require that this method is advised to the user.
|
Success Criterion 2.1.2 says "unmodified arrow or tab keys or other standard exit methods" - what do you consider "other standard exit methods" to be? We thought of:
It is indeed debatable whether the latter can be considered "standard exist method". |
I agree – it is debatable whether enter or space are standard exit methods, but we should specify whether they are or not. The only others that probably need to be mentioned as not acceptable would be delete and backspace…
|
I don't think this applicability section is objective:
I think this applicability section is too broad. You may want to create two rules in a rule group instead, one for a standard exit method, and one for a non-standard exit method. |
Suggested rewording for applicability: All components on a web page where focus can be moved through keyboard navigation, but where focus cannot be moved away from the component by using arrow keys, ESC key, TAB key, Shift+TAB or Enter key. |
Updated format |
Dagfinn, Geir Sindre and Anne started updating the rule to match #67. Changes made to Applicability and Expectations, but the update is not finished yet. Old Test Procedure:ApplicabilityThe rule applies to all HTML elements and subsections of HTML elements on a web page where focus can be moved to through keyboard navigation. Expectation 1Help information is available explaining how to move focus away from the element using a keyboard. Expectation 2The help information can be accessed using a keyboard. Expectation 3The method advised in the help information allows the user to move focus away from the element using a keyboard. |
Looks much better. I'll take a closer look when it goes into PR, but on the surface I think this is solid. |
Added Testcases |
Changed description. Old description: If it is not possible to navigate through all content on the web page with a keyboard without becoming trapped in any component, the user should be advised on the method for moving focus away from the component. |
Included the description of the test cases as comments in the html of the test cases to align with other rules where we have done the same. |
Aligned wording on test case comments with Expectations. |
@annethyme I have updated the Applicability |
Made into pull request: #142 |
name: No keyboard trap non-standard navigation
group:
description: |
This rule checks if the user is advised on a method for non-standard keyboard navigation to navigate through focusable content on a web page without becoming trapped in any element.
success_criterion:
test aspects:
authors:
Test procedure
Applicability
The rule applies to any HTML or SVG element on a web page that is focusable and reachable through sequential focus navigation where focus cannot cycle to the browser UI by using standard keyboard navigation.
Expectation 1
For each target element help information is visible on the page and exposed to assistive technologies or can be navigated to from within the keyboard trap.
Note: As per Success Criterion 2.1.1 Keyboard the help information should be accessible through a keyboard interface. This however is the test subject for another ACT rule.
Expectation 2
The help information explains how to cycle to the browser UI, or on how to get to a point from where it is possible to cycle to the browser UI, using standard keyboard navigation.
Expectation 3
For each target element focus can cycle to the browser UI by using the method advised in the help information.
Note: Cycling back to the browser UI can be done both by moving forward through the tab order and by moving backwards. It is not possible to fulfil this expectation by using browser specific shortcuts to return to the browser UI.
Assumptions
Accessibility support
There are no major accessibility support issues known for this rule.
Background
Test Cases
Passed
Failed
Inapplicable
The text was updated successfully, but these errors were encountered: