-
Notifications
You must be signed in to change notification settings - Fork 74
Adds gradients and related features, also fixes contrast form parent issue #1069
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
base: new-main-page-UX
Are you sure you want to change the base?
Adds gradients and related features, also fixes contrast form parent issue #1069
Conversation
- Adds initial gradient support - Begins work on getting / modifying backgrounds from parent elements
- Red dotted focus line will now draw around the text relevant to the issue as well as the background - Fixes outdated logic for getTextColor, now supports new framework with textColorXpath NOTE: triggerLiveUpdate() will break the dotted focus box for reasons unknown, will be fixed later somewhere else
dmols
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The form works great! I just have a few requests that I believe would make the form a little better:
- I would make it so that by default it only shows 3-4 colors in the instructions but allow the user to show the full list if there's more than that. This way, if the user is just trying to navigate past the issue, the 'next' button will be visible and not pushed down out of frame.
- Navigation is nearly done, I believe. However, tabbing through the colors should probably associate the 'X' or check mark to the color, when focusing on the color div, so an unsighted user can know the color isn't valid yet.
dmols
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the change to reduce the amount of colors on screen! I do think the screenreader additions are good but they're missing some changes to fully make this accessible:
- When the user lightens or darkens the color, it should probably tell the user what the ratio is afterwards, since that's something we sighted users can notice without losing focus of the light/darken buttons.
- As of now, the background color button is the only one that tells you if you've reached valid contrast. We should probably also mention that in the text color button as well.
I'm not sure of the best way to do this without it being too much noise for the user, or if these are things we'd particularly want to mention to the user in this manner. Thoughts, @mbusch3?
No description provided.