SIGN IN SIGN UP
mdn / content UNCLAIMED

The official source for MDN Web Docs content. Home to over 14,000 pages of documentation about HTML, CSS, JS, HTTP, Web APIs, and more.

0 0 288 Markdown

Revise: `autofocus` attribute & property Docs (#42791)

* Add popover case

* Include popover element and dialog as possible elements

* Add URI fragment note

* Fix attribute link

* Exclude autofocus scope element.

The spec does not include the autofocus scope element as a valid recipient of the autofocus attribute when a dialog or popover is displayed; only its content is eligible.

Co-authored-by: Chris Mills <chrisdavidmills@gmail.com>

* exclude autofocus scope element.

The spec does not include the autofocus scope element as a valid recipient of the autofocus attribute when a dialog or popover is displayed; only its content is eligible.

Co-authored-by: Chris Mills <chrisdavidmills@gmail.com>

* exclude autofocus scope element.

The spec does not include the autofocus scope element as a valid recipient of the autofocus attribute when a dialog or popover is displayed; only its content is eligible.

Co-authored-by: Chris Mills <chrisdavidmills@gmail.com>

* exclude autofocus scope element.

The spec does not include the autofocus scope element as a valid recipient of the autofocus attribute when a dialog or popover is displayed; only its content is eligible.

Co-authored-by: Chris Mills <chrisdavidmills@gmail.com>

* Fix URI fragment note

* linter

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update URI fragment note

---------

Co-authored-by: Chris Mills <chrisdavidmills@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
S
sb3nder committed
01d5901fdbad83033fe1f86486f652d07db7ce2a
Parent: ac95418
Committed by GitHub <noreply@github.com> on 1/20/2026, 11:12:29 AM