The description of autofocus is incorrect. Nowhere in the specification is it written "by placing the cursor on it."
html.spec.whatwg.org/multipage/int...
If you want to explain it briefly, how about "an element is to be focused as soon as the page is loaded."
Furthermore, it would be better if there was an explanation of the behavior of the dialog element and div element.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The description of autofocus is incorrect. Nowhere in the specification is it written "by placing the cursor on it."
html.spec.whatwg.org/multipage/int...
If you want to explain it briefly, how about "an element is to be focused as soon as the page is loaded."
Furthermore, it would be better if there was an explanation of the behavior of the dialog element and div element.