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

Default focus for <dialog> no longer accurate? #31917

Closed
bganotoo opened this issue Jan 25, 2024 · 1 comment
Closed

Default focus for <dialog> no longer accurate? #31917

bganotoo opened this issue Jan 25, 2024 · 1 comment
Labels
Content:HTML Hypertext Markup Language docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@bganotoo
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog

What specific section or headline is this issue about?

Creating a modal dialog

What information was incorrect, unhelpful, or incomplete?

The first sentence in the second paragraph of that section, states:

"When a dialog opens, the browser, by default, gives focus to the first element that can be focused within the dialog."

What did you expect to see?

Is this still accurate after PR 4184? See also https://github.com/whatwg/html/wiki/dialog--initial-focus,-a-proposal for context.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@bganotoo bganotoo added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 25, 2024
@github-actions github-actions bot added the Content:HTML Hypertext Markup Language docs label Jan 25, 2024
@bganotoo
Copy link
Author

Scratch that. I just did a baseline test and the behavior as documented is still accurate. The alternative behavior must be caused by a library in place in the scenarios I've tested.

@bganotoo bganotoo closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:HTML Hypertext Markup Language docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

1 participant