[wp-trac] [WordPress Trac] #56928: Twenty Twenty-Three: visited state of button links use the incorrect text color

WordPress Trac noreply at wordpress.org
Wed Nov 9 04:07:01 UTC 2022


#56928: Twenty Twenty-Three: visited state of button links use the incorrect text
color
------------------------------+----------------------------
 Reporter:  mikachan          |       Owner:  peterwilsoncc
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.1.1
Component:  Themes            |     Version:  6.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  css
------------------------------+----------------------------
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54774" 54774]:
 {{{
 #!CommitTicketReference repository="" revision="54774"
 Themes: Re-order valid link pseudo classes.

 Re-order the link pseudo classes to follow the long term LoVe (F)HA rule
 when set via `theme.json`.

 In order that the CSS cascade behaves in a predictable manner, it's
 recommended that the selectors follow the order `:visited`,
 `:focus`/`:hover`, `:active`. As order affects the specificity, this
 ensures the interaction states override the visited states. CSS
 specificity is really quite beautiful, although complex.

 Props mikachan, sabernhardt, davidbaumwald, mukesh27, Mamaduka, desrosj.
 Fixes #56928.
 }}}

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


More information about the wp-trac mailing list