Skip to content
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

Frances' proposed response #3214

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

Frances' proposed response #3214

wants to merge 2 commits into from

Conversation

alastc
Copy link
Contributor

@alastc alastc commented May 25, 2023

Closes #518

@alastc alastc requested a review from fstrr May 25, 2023 17:45
@@ -23,14 +24,14 @@ <h3>Setting focus to the document after dismissing a menu embedded on the page</
<p>Activate the trigger control via the keyboard.</p>
<ul>
<li>Check whether focus is in the menu or dialog.</li>
<li>Check whether advancing the focus in the sequential navigation order puts focus in the menu or dialog.</li>
<li>Check whether moving the focus forwards once in the sequential navigation order puts focus in the menu or dialog.</li>
Copy link
Contributor

Choose a reason for hiding this comment

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

Thinking of dialogs with no interactive content apart from the close icon. When focus is set here on opening, it is often not easy to see since there is no other focus position to go to - in effect you can either press enter or ESC to close. In these situations the second check would not work. Not sure if this edge case (not too infrequent though) needs to be covered...

Copy link
Member

Choose a reason for hiding this comment

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

the "check" may not necessarily be a visual check. an auditor may also just check document.activeElement.

<ul>
<li>Check whether focus is on the trigger control.</li>
<li>Check whether advancing the focus backwards in the sequential navigation order puts focus in the trigger control.</li>
<li>Check whether moving the focus backwards once in the sequential navigation order puts focus in the trigger control.</li>
Copy link
Member

Choose a reason for hiding this comment

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

"focus in" > "focus on" ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Can't this be said in less technical language?

techniques/failures/F85.html Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WCAG F85: Clarify guidance about where the focus should go when the modal dialog is closed
5 participants