Fully autonomous AI Agents system capable of performing complex penetration testing tasks
Go ai-agentsai-security-toolanthropicautonomous-agentsgolanggptgraphqlmulti-agent-systemoffensive-securityopen-sourceopenaipenetration-testingpenetration-testing-toolsreactsecurity-automationsecurity-testingsecurity-toolsself-hosted
fix(a11y): give the built-in dialog X a name distinct from page Close buttons
Sergey Kozyrenko99829bff0b21
diff --git a/frontend/src/components/ui/dialog.tsx b/frontend/src/components/ui/dialog.tsxindex 3ea71b89..b0915fe5 100644--- a/frontend/src/components/ui/dialog.tsx+++ b/frontend/src/components/ui/dialog.tsx@@ -40,7 +40,8 @@ function DialogContent({ children, className, ...props }: React.ComponentProps<tdata-slot="dialog-close"><X className="h-4 w-4" />- <span className="sr-only">Close</span>+ {/* not "Close": pages render visible Close buttons, and duplicate accessible names break role-based locators */}+ <span className="sr-only">Dismiss dialog</span></DialogPrimitive.Close></DialogPrimitive.Content></DialogPortal>