Commit 1559ab85 authored by Gábor Hojtsy's avatar Gábor Hojtsy

Issue #2938643 by markconroy, andrewmacpherson, David_Rothstein, yoroy: Umami...

Issue #2938643 by markconroy, andrewmacpherson, David_Rothstein, yoroy: Umami Banner Block does not have accessible text alternative at wide viewport
parent 6512f12b
......@@ -73,6 +73,16 @@
}
.block-type-banner-block .field--name-field-banner-image {
display: none;
/**
* We need to ensure that the alt text on the image is accessible to
* screenreaders, so, when on large screens, let's give this the same CSS
* as the .visually-hidden class has.
*/
position: absolute !important;
clip: rect(1px,1px,1px,1px);
overflow: hidden;
height: 1px;
width: 1px;
word-wrap: normal;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment