Skip to content

Tooltip triggers often need aria-label #1411

@Andarist

Description

@Andarist

🙋 Feature Request

Tooltip triggers often need aria-label because the associated tooltip is not enough for assistive technologies - especially given that tooltips are only rendered conditionally. At least this is what AXE reports for my buttons for which I've implemented tooltips using @react-aria hooks

I'm not yet sure though if this won't conflict with the description contained in the tooltip and if this won't make assistive technologies to read often the same thing twice - which would be less than desirable.

🤔 Expected Behavior

useTooltipTrigger accepting aria-label (?)

😯 Current Behavior

No obvious way to handle aria-label for the tooltip trigger.


I'm happy to implement any required changes but I'd like to establish first how this should be handled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions