[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 16:28:21 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 fixed-major  |     Focuses:  css
------------------------------------------+----------------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54778" 54778]:
 {{{
 #!CommitTicketReference repository="" revision="54778"
 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,
 peterwilsoncc.
 Fixes #56928.
 }}}

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


More information about the wp-trac mailing list