Skip to content

update default aria role for svg and g elements #9664

@maribethb

Description

@maribethb

Check for duplicates

  • I have searched for similar issues before opening a new one.

Problem

No response

Request

change core/utils/dom.ts createSvgElement: 'svg' and 'g' (group) elements should have the ARIA role GENERIC by default because it ensures that browsers and screen readers do not attempt to associate additional semantic information with the element (which can definitely happen for SVG groups). Callers can further customize the role of the element, if needed.

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExternal contributions actively solicitedissue: feature requestDescribes a new feature and why it should be addedissue: triageIssues awaiting triage by a Blockly team membersize: smallBugs that can be picked up and completed in 1-3 days

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions