Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Enhancement] Change color of links in gallery block caption #8004
This PR addresses #7952 which reports the low readability links in image captions in the gallery block against the dark gradient background. This changes the default blue link color to white so that it is readable.
How has this been tested?
This has been tested by making sure the link color is white so that it is well readable against the dark gradient background, which turns to blue when the link background is changed to white when it is focused.
This was tested in WP 4.9.7, Gutenberg 3.2.0, Apache server with PHP 7.2.0 and MySQL 5.6.34. According to initial tests, the code doesn’t seem to affect any other areas.
Types of changes
This PR just adds CSS specific to the gallery block editor which changes the link color to white, and blue when it is focused, i.e. when the background turns white.
referenced this pull request
Aug 7, 2018
There were some tests failing yesterday due what seems like a race condition. See https://wordpress.slack.com/archives/C02QB2JS7/p1533732745000038