Skip to content

Call out box: colour contrast issues #321

@msayoung

Description

@msayoung

The call out box allows for an optional image.

When set then we get a fade from a solid background to the image.

At small screen sizes the text overlaps with the fade, meaning the text no longer is high enough contrast with the background.

Example on the https://site3.demo.microsites.localgovdrupal.org/

Image

Note: the text itself isn't contrasty enough even on a solid background - have noted that elsewhere.

Interestingly we got around this on localgov_base by hiding the image altogether.

https://demo.localgovdrupal.org/test-subsite-demo-all-components/example-page-different-page-components

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions