l3montree-dev/devguard

Radix UI DialogContent accessibility warning

Open

#2,084 建立於 2026年5月28日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Go (32 fork)auto 404
component/devguard-webgood first issue

倉庫指標

Star
 (144 star)
PR 合併指標
 (PR 指標待抓取)

描述

Description Three dialogs are missing an accessible description, causing Radix UI to emit a console warning and leaving screen reader users without context when a dialog opens. Radix UI's DialogContent requires either a child or an explicit aria-describedby={undefined} opt-out — none of the three affected components provide either.

Steps to reproduce

  1. Run the app in dev mode
  2. Open any of the three affected dialogs:
    • Command palette (CommandDialog in src/components/ui/command.tsx:29)
    • Webhook setup dialog (WebhookSetupTicketIntegrationDialog in src/components/guides/WebhookSetupTicketIntegrationDialog.tsx:35)
    • Risk scanner dialog (RiskScannerDialog in src/components/RiskScannerDialog.tsx:517)
  3. Open the browser console

Expected Behavior No console warnings. Screen readers announce a meaningful description when focus enters the dialog.

Actual Behavior Console warning appears:

Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.

Screen readers receive no description when these dialogs open.

貢獻者指南