gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Subheading block: text lacks sufficient contrast

Open sarahmonster opened this issue 8 years ago • 2 comments

The subheading block uses a light grey for the text, which lacks sufficient contrast against the white background:

screenshot 2018-08-08 15 05 29

The color combination #9199a1/#ffffff has a contrast ratio of 2.89, which is not sufficient. At this size, you will need a ratio of at least 4.5.

For better legibility, this should probably be increased.

sarahmonster avatar Aug 08 '18 14:08 sarahmonster

Agreed on this. Does Subheading have a semantic meaning to assistive technologies?

It is marked up as <p class="wp-block-subhead">Subheading</p> so I'm guessing not.

abrightclearweb avatar Aug 08 '18 21:08 abrightclearweb

Subheading block is deprecated.

youknowriad avatar Aug 27 '18 14:08 youknowriad