Skip to content

Legend accessibility "The SVG element does not have accessible name" #5412

Description

@tekno0ryder

Do you want to request a feature or report a bug?

Accessibility enhancement.

What is the current behavior?

https://recharts.org/en-US/api/Legend

Screenshot 2025-01-02 at 2 16 29 PM

What is the expected behavior?

Legend svg icon should have role none or presentation.

Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?

Tested on chrome and version 2.13.0 and also on the deployed version in recharts website

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.0Issues we need fixed before releasing 3.0accessibilityIssues associated with accessibility

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions