Skip to content

ARIA role is invalid #22

@dankuck

Description

@dankuck

The element has a role attribute with a value of "chart", which isn't a valid recognized value such as those in https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles .

Some accessibility detection tools, such as Accessible Web Helper v1.19.6, flag this as a violation of "WCAG 2.0 A · SUCCESS CRITERIA 4.1.2".

A good solution might be to accept role as a parameter to <ReactChart> and pass it through to <canvas>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions