Skip to content

Consider aria-labelledby and aria-describedby when making IDs unique. #52

Open
@waruyama

Description

The attributes aria-labelledby and aria-describedby can be used to enhance accessibility for SVG elements. For both the value consists of a space separated list of element IDs. Currently these IDs are not changed when we make IDs unique. As a result the IDs are no longer in the DOM, so the attributes do not work anymore. We should make the IDs in these attribute values unique, too.

aria-labelledby' and aria-describedby` on MSN web-docs:
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-labelledby_attribute
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute

Metadata

Assignees

No one assigned

    Labels

    accessibilityRelated to accessibilitybugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions