Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility problem with "Follows You" meessage #26133

Open
mikehamca opened this issue Jul 23, 2023 · 10 comments
Open

Accessibility problem with "Follows You" meessage #26133

mikehamca opened this issue Jul 23, 2023 · 10 comments
Labels
area/web interface Related to the Mastodon web interface bug Something isn't working status/to triage This issue needs to be triaged

Comments

@mikehamca
Copy link

Steps to reproduce the problem

I looked at a user profile and saw a dark-colored rectangle at the upper left. For me (colorblind), it was totally unreadable: black letters on dark-red background. By copying the block and working on the colors, I realized it said: "Follows You."

The color scheme is new — previously the message was readable — and the selection of colors did not take accessibility into account.

I highly recommend this document: https://venngage.com/blog/accessible-colors/

Expected behaviour

The message should be present in a color combination that all can see.

Actual behaviour

Message was present in a color combination unreadable by those who are colorblind.

Detailed description

Black letters on a dark-red background (or dark-red letters on a black background) are unreadable to many who are colorblind. For accessibility, develops should choose color combinations that are legible to most users. See: https://venngage.com/blog/accessible-colors/

Mastodon instance

mstdn.ca

Mastodon version

v4.1.2

Browser name and version

Vivaldi 6.1.3035.204 (Stable channel) (arm64)

Operating system

macOS 13.4.1

Technical details

No response

@mikehamca mikehamca added area/web interface Related to the Mastodon web interface bug Something isn't working status/to triage This issue needs to be triaged labels Jul 23, 2023
@renchap
Copy link
Sponsor Member

renchap commented Jul 23, 2023

What is your instance? This might be an already fixed issue, or the instance you are on has some local CSS changes that are causing this.

On the latest Mastodon version, the text color is white on a dark background, which provides adequate contrast.

image

@mikehamca
Copy link
Author

mikehamca commented Jul 23, 2023 via email

@ChadOhman
Copy link

Hello, we do not have a custom theme or custom CSS set up on the instance.

@ClearlyClaire
Copy link
Contributor

ClearlyClaire commented Jul 24, 2023

Hi! The contrast is definitely not always ideal, but I'm not able to find any occurrence of black letters on dark background here.

Do you have a screenshot? Which theme (default, high contrast, light theme) are you using?

@mikehamca
Copy link
Author

mikehamca commented Jul 24, 2023 via email

@ClearlyClaire
Copy link
Contributor

Sorry, but your message has a unicode replacement character instead of a screenshot. If you're using the vanilla Mastodon (light), then this sounds like it has been fixed in #25993

@mikehamca
Copy link
Author

mikehamca commented Jul 24, 2023 via email

@liza
Copy link

liza commented Jul 26, 2023

just wanna say, first of all, i cried after editing my first toot. yes, i shed tears because as a dyslexic writer, illegible posts were the bane of my existence. so THANK YOU for that edit function.

now on to OPs point.

am dyslexic and have "text blindness" (dysgraphia). i just found out a few days ago this is how you flag followers.

image

even though it may look okayish when zoomed in, in a busy page, this won't register for people with color blindness, dysgraphia, aphantasia, aka the neuroatypicals. it's why i've done my own webdev & ui modding for most of my apps i use. if i cannot change the CSS of an app, i try to find an alternative. right now i've done some cosmetic changes to the deck using Stylus for Firefox.

that flag should be right by the follow button. it's a little tweak; but it would be a huge usability improvement.

am on the docs portal and it may be my dysgraphia, but am not seeing any info on theme development. what theme engine are you using?

@mikehamca
Copy link
Author

Here's a screenshot of how the "Follows You" message looks on my Macbook Air.
Screenshot 2023-07-25 at 7 35 48 PM

@gunchleoc
Copy link
Contributor

The layout got already changed in version 4.2.0

contrast-4 2 0

It looks OK to me too in 4.1.6, although the colors are reversed there:

contrast-4 1 6

Have you tried clearing our browser's CSS cache/doing a forced refresh of the page? In Firefox, that would be the keyboard shortcut Ctrl+F5, I don't know how to do that in Safari - seems to be non-trivial https://superuser.com/questions/186594/how-can-i-force-safari-to-perform-a-full-page-reload-without-using-the-mouse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/web interface Related to the Mastodon web interface bug Something isn't working status/to triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

6 participants