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 keyboard-focusable elements for popover on disabled button #32490

Merged
merged 3 commits into from
Dec 20, 2020

Conversation

florianlacreuse
Copy link
Contributor

@florianlacreuse florianlacreuse commented Dec 15, 2020

IMHO, the popover example on a disabled element should have the same behavior as in the case of the tooltip. The wrapper element should be keyboard-focusable (tabindex="0") and therefore we need both hover and focus for the trigger option.

https://deploy-preview-32490--twbs-bootstrap.netlify.app/docs/5.0/components/popovers/#disabled-elements

@XhmikosR XhmikosR merged commit 86802f7 into twbs:main Dec 20, 2020
@florianlacreuse florianlacreuse deleted the ft-fix-popover-disabled-focus branch December 20, 2020 19:39
sijusamson pushed a commit to sijusamson/bootstrap that referenced this pull request Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants