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

Focus the dialog element instead of the first focusable item #4184

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -57550,10 +57550,7 @@ interface <dfn>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
order</span>, that is not <span>inert</span> and has the <code
data-x="attr-fe-autofocus">autofocus</code> attribute specified.</p>

<p>If there isn't one, then let <var>control</var> be the first non-<span>inert</span>
descendant element of <var>subject</var>, in tree order.

<p>If there isn't one of those either, then let <var>control</var> be <var>subject</var>.</p>
<p>If there isn't one, then let <var>control</var> be <var>subject</var>.</p>
</li>

<li>
Expand Down Expand Up @@ -123441,6 +123438,7 @@ INSERT INTERFACES HERE
Darien Maillet Valentine,
Darin Adler,
Darin Fisher,
Darryl Pogue,
Darxus,
Dave Camp,
Dave Cramer,
Expand Down