Default focus for <dialog> no longer accurate? #31917
Labels
Content:HTML
Hypertext Markup Language docs
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
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
en-us/web/html/element/dialog
The text was updated successfully, but these errors were encountered: