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

Button link focus styling doesn't override inherited visited link styling #842

Open
craigcook opened this issue Jan 12, 2023 · 0 comments
Open
Assignees
Labels
Bug 🪲 Something isn't working

Comments

@craigcook
Copy link
Member

Description

When a link is styled as a button it can take on an additional :visited state that button elements don't get. When a button link has been visited and is then focused, the regular visited link colors still apply and the button becomes unreadable.

image

Button focus styles should be consistent whether it's a link or a button so we may need some additional rules to handle :visited:focus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🪲 Something isn't working
Projects
Development

No branches or pull requests

1 participant