-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Remove tabindex ruleset #28425
Comments
/CC @patrickhlauke |
i agree in principle - though would caution that because of the naive way many browsers still apply the focus outline as a result of mouse interaction as well in these cases will have some odd repercussions. if we remove that rule from our reboot styles, we should reintroduce it specifically for some things such as modal dialogs - otherwise, even after a mouse activation, our dialogs will have a very prominent focus outline (since they're in future, we can probably generalise this with |
and for reference, once
(can be verified in Chrome > 67 with experimental web features flag enabled) |
in fact, we can do both: replace the current |
looking at our code now, it seems there's already explicit outline suppression for |
The following isn't specific to any browser or OS.
Bootstrap contains the following SCSS in _reboot.scss:
This was actually removed from suitcss/base five months ago:
Please consider also removing it from Bootstrap.
The visual focus indicator is required for accessibility. See e.g.:
If an author programmatically sets focus to a div (e.g. when a search form returns results you might move focus to the results) then they will need to undo Bootstrap's
outline: 0
.The text was updated successfully, but these errors were encountered: