[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 11:51:22 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 youknowriad):

 > Updating the style in the theme is a short term fix, it might solve this
 exact situation but does not prevent other themes and users from breaking
 the Site Editor focus styles.

 I agree with the logic but for me the issue is the usage of the specific
 `.wp-site-blocks` because with the same logic above, you could say the
 admin bar should have a higher specificity for these things.

 This style is like a "reset" so IMO, it should have the lowest specificity
 possible.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60535#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list