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

Add focus shadow for back button #624

Merged
merged 1 commit into from Nov 23, 2022
Merged

Conversation

BryceStevenWilley
Copy link
Contributor

Before this change, you aren't able to see that you are keyboard tabbing over the back button, as the value bootstrap uses to color the shadow doesn't have a value for the daquestionbackbutton class, only the btn-primary class. Improves WCAG 2.4.7.

TBH, I'm not a huge fan of the default focus indicators in bootstrap, they don't have enough contrast. But that will likely have to wait for a different PR, as it's a much larger change.

Picture of the change below:
Screenshot from 2022-11-22 21-38-48

Before this change, you aren't able to see that you are keyboard tabbing
over the back button, as the value bootstrap uses to color the shadow
doesn't have a value for the `daquestionbackbutton` class, only
the `btn-primary` class.

TBH, I'm not a huge fan of the default focus indicators in bootstrap,
they don't have enough contrast. But that will likely have to wait
for a different PR, as it's a much larger change.
@nonprofittechy nonprofittechy merged commit 45e4ae4 into main Nov 23, 2022
@nonprofittechy nonprofittechy deleted the outline_dabackbutton branch November 23, 2022 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants