Skip to content

Improve the SC 2.1.2 No Keyboard Trap Understanding #4316

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yatil
Copy link
Contributor

@yatil yatil commented Apr 4, 2025

Very drafty Friday afternoon start of an improvement here.

Copy link

netlify bot commented Apr 4, 2025

Deploy Preview for wcag2 ready!

Name Link
🔨 Latest commit 34f0d7d
🔍 Latest deploy log https://app.netlify.com/sites/wcag2/deploys/67f0f511cc728600086b02e9
😎 Deploy Preview https://deploy-preview-4316--wcag2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

- Moving dialog example higher because it is more common

<p>The keyboard focus is not considered as trapped when the user can navigate away from a UI
component using the unmodified tab or arrow keys or when another “standard exit method” exists.
What is a “standard exist method” depends on the user’s hardware and software. A press
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
What is a “standard exist method” depends on the user’s hardware and software. A press
What is a “standard exit method” depends on the user’s hardware and software. A press

<p>The keyboard focus is not considered as trapped when the user can navigate away from a UI
component using the unmodified tab or arrow keys or when another “standard exit method” exists.
What is a “standard exist method” depends on the user’s hardware and software. A press
of the <kbd>ESC</kbd> key is such a “standard exit method”. When the press of the hardware back
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the "When" sentence doesn't quite work structure-wise



<p>The intent of this success criterion is to ensure that that content does not “trap” the
keyboard focus within subsections of content on a web page or app. It is common to restrict
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the "It is common..." insert here seems out of place. I'd move it to the next paragraph, and change this back to talking about the problem

@patrickhlauke
Copy link
Member

x-ref #4381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants