Skip to content

background-color not set when color is set #241

Closed
@mrmonday

Description

@mrmonday

If the color property is set in CSS, the background-color property should also always be set, and vice versa. This is not currently true for crates.io, leading to situations like this:

2015-12-19-011737_501x102_scrot

Where the text is unreadable due to custom styles. See also, note 4 here: http://www.w3.org/TR/WCAG20/#contrast-ratiodef. There's probably a better/more direct link, I couldn't find it though, unfortunately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions