Skip to content

TooltipProvider: all anchors should be focusable #544

@mkrause

Description

@mkrause

Currently, we allow tooltips on non-interactive elements, for example an info icon with a tooltip on hover. This is bad for accessibility, since users won't be able to use assistive technology (e.g. keyboard tabbing, screen readers) to focus and activate the tooltip anchor.

To remedy this, we could:

  • Expose a TooltipProvider wrapper element for icons specifically, that uses IconButton under the hood so the icon is focusable.
  • Detect and warn in case a non-interactive anchor is provided by the consumer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions