Contact emailsjar...@chromium.org Specificationhttps://github.com/whatwg/html/pull/8199
Summary Some changes are being made to which element is selected to get focus when a dialog element is opened: 1. Make the dialog focusing steps look at keyboard 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. Blink componentBlink>HTML>Dialog <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EHTML%3EDialog> TAG reviewNone TAG review statusNot applicable Risks Interoperability and Compatibility If a website affected by this change absolutely needs the old element to be focused, they would likely need to add the autofocus attribute to it. If by some chance this causes a really bad breakage, I can disable it via finch. I don't believe negative effects are likely since this new behavior was thoroughly thought out over the last year by accessibility experts. *Gecko*: No signal ( https://github.com/mozilla/standards-positions/issues/734) *WebKit*: No signal ( https://github.com/WebKit/standards-positions/issues/123) *Web developers*: No signals *Other signals*: Ergonomics This change will not be used in tandem with other platform APIs. Activation It will not be challenging for developers to take advantage of this change, and no polyfills/outreach is needed. Security This change has no security considerations/risks. WebView application risks Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications? Debuggability Dialog initial focus doesn't have any special DevTools support and I don't think it needs any. Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?Yes Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> ?Yes Flag name--enable-features=DialogNewFocusBehavior Requires code in //chrome?False Tracking bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1193482 Estimated milestones 111 Anticipated spec changes Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way). Link to entry on the Chrome Platform Status https://chromestatus.com/feature/4675914745511936 This intent message was generated by Chrome Platform Status <https://chromestatus.com/>. -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK6btwKVyLctXm%2B7UNenRyKsRNpY%2BrxWF_4LuYn6rJdYbu_bQQ%40mail.gmail.com.