-
Notifications
You must be signed in to change notification settings - Fork 26
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
[WDTK] Improved focus state for buttons #1917
Conversation
So nice! ✨ |
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.
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.
@lucascumsille can I check if the focus state should be shown on all footer anchors or not. Seems a bit strange...
footer-active-state.mov
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.
@lucascumsille also the yellow button on the homepage... looks like you've increased the size of boarder but haven't changed the colour of the button. Are you happy with the focus state on that now?
7747546
to
99abf32
Compare
@gbp I have included the changes made on this PR on the current PR instead. I think with these commits, we should be covering all cases. As a summary:
Pending(Potentially):
We are currently using transitions for buttons. Do you want me to include one for the links as well? I was wondering if there was a reason why it wasn't included initially. PreviewScreen.Recording.2024-09-19.at.11.21.21.movScreen.Recording.2024-09-19.at.11.19.21.movScreen.Recording.2024-09-19.at.10.36.37.movScreen.Recording.2024-09-19.at.10.35.46.mov |
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.
This is looking good. Only one point, the preview video of the yellow homepage button doesn't look like what I'm seeing. It is first going to dark blue then suddenly to the lighter shade of blue. Where there any changes made after the video was made or could it be an issue with the browser I'm using?
@gbp the :visited was overriding the styling, I added a fixup that should prevent that from happening. Screen.Recording.2024-10-08.at.08.35.23.mov |
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.
Amazing - thank you 👍
7b9b5d2
to
2061159
Compare
@gbp Thanks =) I just rebased, but would you prefer me to make everything one commit or maybe two(buttons and one for the footer)? |
Whatever you feel makes the best sense, even if it's just the 4 commits as they are. |
Relevant issue(s)
Discovered while working on a blog about accessibility for WDTK
What does this do?
Makes the focus state more obvious for users with visual impairments
Screenshots
Screen.Recording.2024-09-09.at.15.31.03.mov
Notes to reviewer