[wp-trac] [WordPress Trac] #52555: Twenty Nineteen: Link-based buttons do not have a text color set in the editor

WordPress Trac noreply at wordpress.org
Wed Feb 17 14:25:43 UTC 2021


#52555: Twenty Nineteen: Link-based buttons do not have a text color set in the
editor
--------------------------------+-----------------------------
 Reporter:  mikejolley          |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Bundled Theme       |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:  accessibility, css  |
--------------------------------+-----------------------------
 In the editor (not on the frontend) if you have a link-based button, the
 text color is not set. This means it inherits the default link color
 (blue) on top of a blue background.


 This is not a problem on the frontend because `.wp-block-button__link` has
 the text color set the white.

 To fix this, we can use similar CSS in the editor, setting the text color
 to white.

 Screenshots and patch to follow...

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52555>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list