Skip to content

role="presentation" not supported on SVG element #3082

@jhensley

Description

@jhensley

Product: axe-core

Expectation: Allow role="presentation" on <svg> elements

Actual: role="presentation" not seen as a valid role on <svg> elements

Motivation: Based on the WAI specs, any role should be valid on an <svg> element

<svg role="presentation" alt="foo"></svg>
axe-core version: 2.3.0

Edit axe-core react (forked)

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixBug fixesprA pr has been created for the issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions