[wp-trac] [WordPress Trac] #60535: Twenty Twenty-Four: Unintended focus outline is applied in the Site Editor
WordPress Trac
noreply at wordpress.org
Wed Feb 14 08:51:29 UTC 2024
#60535: Twenty Twenty-Four: Unintended focus outline is applied in the Site Editor
---------------------------+---------------------------------
Reporter: wildworks | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.5
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: accessibility, css
---------------------------+---------------------------------
Comment (by wildworks):
I think a lower selector makes sense to me too. On the editor side, no
unnatural outlines appear to occur.
What do you think about setting the specificity to zero to ensure that
only the browser default styles are overridden?
{{{
:where(.wp-site-blocks *:focus) {outline-width:2px;outline-style:solid}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60535#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list