Skip to content

fix: accessibility relationships in MorphingDialog#169

Open
illia1f wants to merge 1 commit intoibelick:mainfrom
illia1f:fix/morphing-dialog-a11y
Open

fix: accessibility relationships in MorphingDialog#169
illia1f wants to merge 1 commit intoibelick:mainfrom
illia1f:fix/morphing-dialog-a11y

Conversation

@illia1f
Copy link
Copy Markdown

@illia1f illia1f commented Nov 19, 2025

Description

This PR fixes broken accessibility references in the MorphingDialog component. The aria-labelledby and aria-describedby attributes on the main dialog container were referencing IDs that either did not exist or did not match the child components.

Related Issue

Closes #168

Changes

  • MorphingDialogTitle: Added the missing id attribute (motion-ui-morphing-dialog-title-${uniqueId}).
  • MorphingDialogDescription:
    • Updated the id to match the expected format (motion-ui-morphing-dialog-description-${uniqueId}).
    • Removed an unnecessary key prop.

Impact

  • Assistive technologies will now correctly associate the dialog with its title and description, ensuring compliant accessibility behavior.

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Nov 19, 2025

@illia1f is attempting to deploy a commit to the julienthibeaut's projects Team on Vercel.

A member of the Team first needs to authorize it.

@illia1f illia1f changed the title Fix accessibility relationships in MorphingDialog fix: accessibility relationships in MorphingDialog Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Accessibility] Fix ID mismatches in MorphingDialog ARIA attributes

1 participant