We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbacc9f commit 17e8352Copy full SHA for 17e8352
selectors-4/Overview.bs
@@ -2402,6 +2402,9 @@ The Focus-Indicated Pseudo-class: '':focus-visible''</h3>
2402
Conversely, if the previously-focused element did not [=indicate focus=],
2403
and a script causes focus to move elsewhere,
2404
don't [=indicate focus=] on the newly focused element.
2405
+ * If a newly-displayed element automatically gains focus
2406
+ (such as an action button in a freshly opened dialog),
2407
+ that element should [=indicate focus=].
2408
</div>
2409
2410
User agents should also use '':focus-visible'' to specify the default focus style,
0 commit comments