Adds group styles for accessibility fix.

This commit is contained in:
Jeffrey Pearce 2019-08-15 14:17:19 +02:00
parent d82f6efeb9
commit d741264252
4 changed files with 10 additions and 2 deletions

View file

@ -59,6 +59,7 @@ h6 {
a {
text-decoration: none;
.wp-block-group &,
.wp-block-cover &,
.wp-block-cover-image &,
.wp-block-media-text &,

View file

@ -69,6 +69,7 @@ $font_size_widget_title: #{map-deep-get($config-heading, "font", "size", "h3")};
a {
text-decoration: none;
.wp-block-group &,
.wp-block-cover &,
.wp-block-cover-image &,
.wp-block-media-text &,

View file

@ -872,6 +872,7 @@ a {
text-decoration: none;
}
.wp-block-group a,
.wp-block-cover a,
.wp-block-cover-image a,
.wp-block-media-text a,
@ -879,7 +880,9 @@ p:not(.site-title) a {
text-decoration: underline;
}
.wp-block-cover a.wp-block-button__link, .wp-block-cover a:hover,
.wp-block-group a.wp-block-button__link, .wp-block-group a:hover,
.wp-block-cover a.wp-block-button__link,
.wp-block-cover a:hover,
.wp-block-cover-image a.wp-block-button__link,
.wp-block-cover-image a:hover,
.wp-block-media-text a.wp-block-button__link,

View file

@ -3420,6 +3420,7 @@ a {
text-decoration: none;
}
.wp-block-group a,
.wp-block-cover a,
.wp-block-cover-image a,
.wp-block-media-text a,
@ -3427,7 +3428,9 @@ p:not(.site-title) a {
text-decoration: underline;
}
.wp-block-cover a.wp-block-button__link, .wp-block-cover a:hover,
.wp-block-group a.wp-block-button__link, .wp-block-group a:hover,
.wp-block-cover a.wp-block-button__link,
.wp-block-cover a:hover,
.wp-block-cover-image a.wp-block-button__link,
.wp-block-cover-image a:hover,
.wp-block-media-text a.wp-block-button__link,