element-web icon indicating copy to clipboard operation
element-web copied to clipboard

`highlight` text is not accessible on dark theme

Open kongo09 opened this issue 1 year ago • 7 comments

Steps to reproduce

  1. Visit the timeline
  2. Observe a message that is a reply

Outcome

What did you expect?

Text with accessible contrast.

What happened instead?

Text has low contrast that is hard to read and fails accessibility test.

Evidence: https://webaim.org/resources/contrastchecker/?fcolor=F34441&bcolor=1D1F24

image

Operating system

Windows 11

Application version

Element version: 1.11.71 Crypto version: Rust SDK 0.7.1 (80a151e), Vodozemac 0.6.0

How did you install the app?

element.io

Homeserver

element.io

Will you send logs?

No

kongo09 avatar Jul 27 '24 17:07 kongo09

Can you share a screenshot of the fault itself? Are you using the high contrast theme?

t3chguy avatar Jul 29 '24 09:07 t3chguy

image

kongo09 avatar Jul 29 '24 12:07 kongo09

Are you using the high contrast theme?

t3chguy avatar Jul 29 '24 12:07 t3chguy

Looks fine in High Contrast mode

image image

Looks fine in Light theme

image

Also cannot reproduce in dark mode

image

These colours come from Compound which has contrast testing designed into it

t3chguy avatar Jul 29 '24 12:07 t3chguy

In High Contrast theme, other items are not accessible, e.g.

image

https://webaim.org/resources/contrastchecker/?fcolor=FFFFFF&bcolor=D7DCE2

But in any case, the red color of the dark theme feels completely unnecessary and not even visually connected to a dark theme. Not sure why you cannot reproduce this?

kongo09 avatar Jul 29 '24 14:07 kongo09

Right so you meant ping colour not reply colour

t3chguy avatar Jul 29 '24 14:07 t3chguy

Hm, not sure what a "ping" colour is, but I'm talking about the red.

kongo09 avatar Jul 29 '24 14:07 kongo09