fix(a11y): address axe color-contrast violations on dark surface
This commit is contained in:
+10
-3
@@ -1,5 +1,12 @@
|
||||
.alignfull {
|
||||
margin-left: calc(50% - 50vw);
|
||||
margin-right: calc(50% - 50vw);
|
||||
width: 100vw;
|
||||
margin-left: calc(50% - 50vw);
|
||||
margin-right: calc(50% - 50vw);
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
/* WP block buttons authored with vivid-cyan-blue backgrounds carry inline
|
||||
* white text — that combo is only 3.33:1 and fails WCAG AA. Force dark text.
|
||||
* !important needed because WP core ships .has-white-color with !important. */
|
||||
.wp-block-button__link.has-vivid-cyan-blue-background-color {
|
||||
color: var(--color-page-base, #100e0b) !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user