Skip to content

Improve Tooltip accessibility #451

Open
@TyMick

Description

I may make this a 20% project at some point, but I think it'd be nice if Tooltip automatically added an aria-describedby prop to the target element pointing to the tooltip itself whenever the tooltip is visible. And maybe when the tooltip isn't visible, it can instead add an aria-label to the target to convey the same information to screen reader users without them having to deal with the popover at all.

Had this idea while writing this tooltip in Faithlife#4639.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions