New issue
Advanced search Search tips

Issue 626041 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

<dialog>.showModal() should ignore unfocusable elements with [autofocus]

Project Member Reported by dbeam@chromium.org, Jul 6 2016

Issue description

The spec says:

"""
Let control be the first non-inert *focusable* area in subject's
control group whose DOM anchor has an autofocus attribute specified.
"""

The code currently looks for the first element with the autofocus="" attribute but doesn't check if the found element is also *focusable*.

https://html.spec.whatwg.org/multipage/forms.html#dialog-focusing-steps
 

Comment 1 by dbeam@chromium.org, Jul 6 2016

Summary: <dialog>.showModal() should ignore unfocusable elements with [autofocus] (was: <dialog>: should ignore unfocusable elements with [autofocus])

Comment 3 by dbeam@chromium.org, Jul 7 2016

Status: Fixed (was: Started)

Sign in to add a comment