Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

docs(Tooltip): add usage example for Tooltip on disabled elements#2091

Merged
mnajdova merged 4 commits intomasterfrom
docs/add-tooltip-disable-trigger-usage
Nov 7, 2019
Merged

docs(Tooltip): add usage example for Tooltip on disabled elements#2091
mnajdova merged 4 commits intomasterfrom
docs/add-tooltip-disable-trigger-usage

Conversation

@mnajdova
Copy link
Contributor

@mnajdova mnajdova commented Nov 5, 2019

Added usage example for tooltip on disabled button, for clarifying the issue: #2021

Copy link
Member

@miroslavstastny miroslavstastny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will not work with keyboard navigation as there is nothing focusable. What it the expectation there?
@jurokapsiar can you please review?

@jurokapsiar
Copy link
Contributor

jurokapsiar commented Nov 7, 2019

It will not work with keyboard navigation as there is nothing focusable. What it the expectation there?
@jurokapsiar can you please review?

it's ok - by default, we don't focus disabled elements. there's inconsistency between Windows (does not allow focusing) and Office (allows focusing), we say that we should not focus disabled by default, but if justified, disabled buttons can be focusable in specific scenarios - partners can achieve that on their side (by just using aria-disabled instead of disabled and potentially some style overrides

@mnajdova mnajdova merged commit 2b63bee into master Nov 7, 2019
@mnajdova mnajdova deleted the docs/add-tooltip-disable-trigger-usage branch November 7, 2019 18:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants