Glad <dialog> focus is finally being implemented/defined in a reasonable way after a torturous years long, largely pointless, discussion.
“1. Make the dialog focusing steps look at sequentially focusable elements instead of any focusable element.
2. Make the dialog element itself get focus if it has the autofocus="" attribute set.
3. Make the dialog element itself get focus as a fallback instead of focus being reset to the body element.”
#HTML #WebStandards #a11y
github.com/whatwg/html/commit/…
Implement dialog initial focus proposal · whatwg/html@a9f103c
This implements the changes proposed here: https://github.com/whatwg/html/wiki/dialog--initial-focus,-a-proposal#dialog-draft-text Specifically: 1. Make the dialog focusing steps look at seq...GitHub
This entry was edited (1 year ago)
Jamie Teh
in reply to Steve Faulkner • • •Steve Faulkner
in reply to Jamie Teh • • •Jamie Teh
in reply to Steve Faulkner • • •Steve Faulkner
in reply to Jamie Teh • • •Jamie Teh
in reply to Steve Faulkner • • •