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

Don't show Tab focus outlines or selected text #149

Open
TheNando opened this issue Mar 6, 2018 · 4 comments
Open

Don't show Tab focus outlines or selected text #149

TheNando opened this issue Mar 6, 2018 · 4 comments

Comments

@TheNando
Copy link

TheNando commented Mar 6, 2018

Other tab implementations I've seen hide tab focus outlines and don't allow selecting text.

tab-select

This can be achieved by setting outline: none and user-select: none respectively.

@CITguy
Copy link
Contributor

CITguy commented Mar 6, 2018

Thanks for reporting this. We're in the process of finalizing our focus states and this will be updated accordingly, in the near future.

@CITguy
Copy link
Contributor

CITguy commented Mar 6, 2018

Also, to note, user-select: none; isn't guaranteed to prevent selection.

@CITguy
Copy link
Contributor

CITguy commented May 21, 2018

Unfortunately, we can't remove the outline on focus due to accessibility requirements and browsers haven't implemented the :focus-visible pseudo-selector to allow us to turn off the outline only for mouse interaction. We're looking into options (differing styles or the focus-visible polyfill).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants