Skip to content

[Support]: Feature request - Custom Tooltip renderer (raw html) does not pick up aria-label from tooltip content #6076

@jakebixby

Description

@jakebixby

Link to reproducible scenario

No response

Add a description

I am currently using the line series tooltip renderer to create a custom tooltip (which works with no issue), however I noticed when the tooltip is rendered, there is no aria label available for screen readers. After some investigation, I found that the current behavior in the tooltip is to ignore raw content (i.e. a string of html) when building the description in the tooltipContentAriaLabel function.

I was wondering if it would be possible to parse the raw content for aria-label attributes to extract the label for the screen reader.

Thanks!

Version

13.0.0

What language are you using?

JavaScript

What browser are you using?

Chrome

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions