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

Weak color contrast and issues for tab key users in the map and search area of the map page. #4119

Closed

Comments

@Ifycode
Copy link
Member

Ifycode commented Oct 14, 2020

Description:

map-area

Additional findings:

  • Weak color contrast: Apart from skipped elements and previously shown outline problems in issues linked to this one, the focus or outline around input fields and check boxes in the search area drop down is too dim and not easy to see i.e. the contrast between the outline and the background is too weak. The user with mild visual impairment may not be able to see which input field they're on, it's even worse on the check boxes. Even I who doesn't have eye problem can't see it, I have to strain and move closer to the screen to try to discern if outline/focus has moved to the next input.

map-area-2

Steps to reproduce the behaviour:

  • Log in to your account.
  • Use tab key to navigate through the portions shown in the screenshot above.

Aha! Link: https://ushahiditeam.aha.io/features/PROD-871

@Ifycode
Copy link
Member Author

Ifycode commented Oct 14, 2020

@Angamanga The thing is I only edited the code for issue #4115 #4116 in the dev tool and not in the actual code base. I found that some of the Issues also happens on the map and search area of the page. I suggest that since @siggrid found the other issue first & since she has started work on it, then let me work on this issue I just raised instead. Waiting to hear your verdict.

@Ifycode Ifycode changed the title Tab key issue in the map and search area of the map page. Weak color contrast and tab key issue in the map and search area of the map page. Oct 14, 2020
@Ifycode Ifycode changed the title Weak color contrast and tab key issue in the map and search area of the map page. Weak color contrast and issues for tab key users in the map and search area of the map page. Oct 15, 2020
@Angamanga
Copy link
Contributor

@Ifycode Yes, I'll assign you to this issue. We need to make this change in the pattern library and also make sure we identify all places in the platform where it would be needed. Which colors do you suggest to use? Would they work generally over the platform?

@Ifycode
Copy link
Member Author

Ifycode commented Oct 16, 2020

map-area-2

Ok. Great. Thank you! Hmm... Identify all the places in the platform... That's true. About the color, I suggest that the dark yellow color used on the save search button and the round button should be used for uniformity since it's one of the major colors all over the site.
I will test that first and then try some other colors and see what I find. If I find that some other color works better than or other than the dark yellow color across the site, I will give feedback before committing my changes.

I left some messages (observations & questions) on Issue #4044 for you too. Please check @Angamanga @rowasc

@Ifycode
Copy link
Member Author

Ifycode commented Oct 17, 2020

check-box

I found the color on the button is what is used for the box-shadow. The dark yellow doesn't look great on its own if box-shadow is increased.
But mixing the dark yellow with the box-shadow on the white background (as shown in screenshot) gives the checkbox/radio button an elevated look and is easier to see when one moves to the next check box or radio button. The only thing is -moz-outline-radius is no where near usable in production, so the outline will just have sharp edges.

@rowasc
Copy link
Contributor

rowasc commented Oct 20, 2020

oh ok. Yeah I think we should go with this as an initial fix, sharp edges are better than the low contrast situation we have right now IMO. It's progress.

@Ifycode
Copy link
Member Author

Ifycode commented Oct 21, 2020

Ok. Makes sense! Thanks. I'll get to work then.

@siggrid
Copy link

siggrid commented Oct 23, 2020

Hey @Ifycode
Want to ask a question to be sure that our solutions are not conflicting: are you working specifically on outline colors of focusable elements within the platform? I submitted a PR with a fix around checkboxes, it doesn’t make any changes to outline color, it was positioning/display issue.
Thanks.

@Ifycode
Copy link
Member Author

Ifycode commented Oct 24, 2020

@siggrid Yes I'm working on making the outline more visible when using the tab key (and fix skipped elements - if any). Maybe you can give more detail about what you've done or send a link to the PR for the fixes you made? So I can ensure we aren't tweaking same things. Thanks.

@siggrid
Copy link

siggrid commented Oct 27, 2020

@Ifycode Hope, it is not too late.
The link to Pattern library PR ushahidi/platform-pattern-library#252

@Ifycode
Copy link
Member Author

Ifycode commented Oct 28, 2020

No it's not. Thank you @siggrid
Will look through before I commit, push & PR changes related to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment