Skip to content

Enhancement request for Tab component to support disabled tabs with tooltips #1066

@jgiardino

Description

@jgiardino

A use case for having a disabled tab has come up in recent discussions. This use case is similar to the one where an action displays but is disabled with a tooltip explaining why the user can't access the action. In the case of tabs, the tab includes contents which are not available to the user due to lack of permission to access the contents.

We did discuss the approach to enable the tab and display messaging in an empty state. The general consensus was that if we can tell them sooner and avoid the click and page loading an empty state, that it would be a nicer experience.

Something to keep in mind if this design goes to core and react is that the implementation we have for applying tooltips to disabled buttons would need to be supported here as well (i.e. aria-disabled instead of disabled so that the tab can receive focus and display the tooltip message).

The timing for this is September 2021, and would be used for apps (most likely Apicurio) under Application Services in clouddot.

cc'ing @lboehling and @dlabaj

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions