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/…

This entry was edited (2 years ago)
in reply to Steve Faulkner

Yeah, that's fair. I worry that a lot of standards stuff is like this. It's one reason I have (until recently) avoided being officially involved in standards groups. Hard to know how to resolve it. On one hand, it's far too slow. On the other hand, the whole point is to gain consensus and to ensure that major viewpoints are considered and doing that with many parties means a lot of back and forth.