-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[med] Color Contrast: Many Pages: Input controls grey border against adjacent white fails contrast #5521
Comments
@ogumen what is the minimum contrast ratio that we need here? |
This should be as easy as just changing the border color to a new one, let's see if someone external will do this. |
Triggered auto assignment to @kadiealexander ( |
@shawnborton The minimum contrast ratio of the UI components should be at least 3.00:1. |
Yeah I think the solution is as simple as just changing out the border color we use to a darker shade. That being said, I do think @Expensify/design should take a look at these accessibility issues altogether and chat about them quickly internally to make sure we are finding the right new colors to use in these situations. Going to assign to myself for now. |
Started a conversation over in #accessibility about this |
Okay so what I would recommend doing here... in
change that to
Bonus points if you want to update the supporting text/label color issue, which you could just update Bonus points if you want to tackle the icon color issue here too, which you could just update Let me know how all of that sounds! |
Triggered auto assignment to @stephanieelliott ( |
Adding |
Hi @shawnborton, I did quick test. i.e. within I think we need to decide strategy how to approach this, because if we set At present trying to figure out best approach, finger crossed. |
Good points in the above. That being said, the hover style for the chat row seems wrong - that should not be using the same color as borders, we have a specific variable for that: I think what I would recommend then is that we have two separate border variables in
|
Temporary I set Below are some screenshot that shows usage of |
@PrashantMangukiya are you still interested in working on this issue? If so, can you submit an updated proposal? |
@Beamanator thanks for the message. At present I am not ready to work on this issue. So it will be ok to handover others. Thanks. |
Thanks for the heads up @PrashantMangukiya ! |
Proposal
In
In In Then in
|
This is on Upwork here: https://www.upwork.com/jobs/~019b45fec6e1a6cdcc |
@mateomorris I think your proposal looks fantastic! I'll assign this to you, please feel free to submit a PR when you have a chance :) |
There is nothing much to review in the code, it's mostly about swapping the variable with correct values. So I would leave this to the CME to review. See More. cc: @Beamanator Thanks. |
Sounds good, thanks for the heads up @parasharrajat 💪 |
Hired on Upwork, thanks @mateomorris! |
Still under discussion in slack internally here |
As discussed here, we're going to close the PR but we want to make sure @mateomorris gets paid for his work. @stephanieelliott can you go ahead and make sure Mateo gets paid and then we can close this one out? Thanks! |
Hey @mateomorris looks like you never accepted the offer we sent for this job. Will you accept in Upwork (should be able to find it here), then let me know so I can issue payment? Thanks! |
Thanks @stephanieelliott! Accepted |
All set and paid in Upwork. Thanks @mateomorris! |
Action Performed:
Prerequisite: user has created personal account and is logged into same.
Expected Result:
The graphical information required to identify user interface components must have a contrast ratio of at least 3.00:1 against adjacent colors. In this case, the input field is visually identified by a light grey border that shows its position, size and lets users know where to click, tap, etc. The border color must have a contrast ratio greater that 3.00:1 against the adjacent white background.
Actual Result:
The light grey border (#ECECEC) against the adjacent white background (#FFFFFF) has a contrast ratio of 1.18:1, rendering it almost invisible (1.0:1).
HTML:
<input placeholder="Name, email, or phone number" autocapitalize="sentences" autocomplete="on" autocorrect="on" dir="auto" spellcheck="true" type="text" class="css-11aywtz r-tz77pi" value="" style="background-color: rgb(255, 255, 255);border-color: #ececec;border-radius: 8px;border-width: 1px;color: rgb(11, 27, 52);font-family: GTAmericaExp-Regular;font-size: 15px;height: 42px;padding: 10px 12px;vertical-align: middle;">
CSS:
element.style { background-color: rgb(255, 255, 255); border-color: #ececec; ... }
Other occurrences:
Workaround:
No workaround
Area issue was found in:
Create new group overlay, Chat page
Failed WCAG checkpoints
1.4.11
User impact:
Many colorblind and other sight impaired users will not identify the area as a control and may not know where to click.
Suggested resolution:
Use a darker shade of grey for the border color, such as
#919191
, which will give a color contrast ratio of 3.15:1.Platform:
Where is this issue occurring?
Version Number:
**Reproducible in staging?:**Yes
Reproducible in production?:
Notes/Photos/Videos: Any additional supporting documentation
Issue reported by:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: