You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the DialogContent component from Radix UI, an accessibility warning is displayed in the console. The warning states that DialogContent requires a DialogTitle component to ensure accessibility for screen reader users. This warning occurs even if a title is not intended to be displayed in the dialog.
Additionally, it suggests wrapping the DialogTitle with a VisuallyHidden component if the title is not meant to be visible. However, this creates unnecessary complexity for cases where a title is intentionally omitted.
To Reproduce
Steps to reproduce the behavior:
Go to 'mobile or ipad size'
Click on 'toggle button to open sidebar'
See error
Expected behavior
The DialogContent component should function without requiring a DialogTitle if no visible or hidden title is necessary. It should not display a warning in the console unless there is a clear accessibility issue caused by omitting the title.
Screenshots
Desktop (please complete the following information):
OS: [windows]
Browser [chrome]
Version [131.0.6778.109]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the DialogContent component from Radix UI, an accessibility warning is displayed in the console. The warning states that DialogContent requires a DialogTitle component to ensure accessibility for screen reader users. This warning occurs even if a title is not intended to be displayed in the dialog.
Additionally, it suggests wrapping the DialogTitle with a VisuallyHidden component if the title is not meant to be visible. However, this creates unnecessary complexity for cases where a title is intentionally omitted.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The DialogContent component should function without requiring a DialogTitle if no visible or hidden title is necessary. It should not display a warning in the console unless there is a clear accessibility issue caused by omitting the title.
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: