Skip to content

How do children update props on their parents in SSR? #1621

Answered by jjenzz
bryanmylee asked this question in Help
Discussion options

You must be logged in to vote

radix always adds the aria-labelledby and aria-describedby attributes and instead checks if parts with those ids are rendered. If not, it logs warnings explaining that:

  • DialogTitle is required for a11y but they can wrap it with VisuallyHidden if they don't want it to be visible.
  • DialogDescription must be used unless they pass aria-describedby={undefined} to the DialogContent part.

code is here.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bryanmylee
Comment options

Answer selected by bryanmylee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants