Skip to content

Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.

fix: improve audit page accessibility attributes (#672)

Bharadwajjjjjfa18ac82ec4c
diff --git a/web/src/app/[locale]/(dashboard)/dashboard/audit/page.tsx b/web/src/app/[locale]/(dashboard)/dashboard/audit/page.tsx
index 67d590f52..eb9bf705a 100644
--- a/web/src/app/[locale]/(dashboard)/dashboard/audit/page.tsx
+++ b/web/src/app/[locale]/(dashboard)/dashboard/audit/page.tsx
@@ -203,6 +203,7 @@ export default function SiteAuditPage() {
key={p}
type="button"
onClick={() => setRange(p)}
+ aria-pressed={range === p}
className={cn(
'px-2.5 py-1 text-xs font-medium transition-colors',
range === p
@@ -296,6 +297,7 @@ export default function SiteAuditPage() {
type="url"
inputMode="url"
placeholder="https://example.com/page"
+ aria-label="Website URL"
value={url}
onChange={(e) => setUrl(e.target.value)}
onKeyDown={(e) => e.key === 'Enter' && !running && !quotaExhausted && handleRun()}
diff --git a/web/src/components/audit/audit-report.tsx b/web/src/components/audit/audit-report.tsx
index dedc4affc..a6a50fa09 100644
--- a/web/src/components/audit/audit-report.tsx
+++ b/web/src/components/audit/audit-report.tsx
@@ -147,6 +147,7 @@ function SignalRow({
onClick={() => setOpen((v) => !v)}
className="flex w-full items-center gap-3 py-3 text-left hover:bg-muted/40"
aria-expanded={open}
+ aria-controls={`signal-panel-${signal.key}`}
>
<Icon className={cn('h-4 w-4 shrink-0', STATUS_COLOR[signal.status])} />
<span className="flex-1 text-sm font-medium">{signal.label}</span>
@@ -163,7 +164,10 @@ function SignalRow({
/>
</button>
{open && (
- <div className="space-y-2 pb-4 pl-7 text-sm text-muted-foreground">
+ <div
+ id={`signal-panel-${signal.key}`}
+ className="space-y-2 pb-4 pl-7 text-sm text-muted-foreground"
+ >
{typeof signal.evidence?.reason === 'string' && signal.evidence.reason && (
<p>
<span className="font-medium text-foreground">Finding: </span>