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(a11y): add aria-label to all remaining icon-only buttons (closes #798) (#822)

Maqbool Ahmed20e004818917
diff --git a/web/messages/en.json b/web/messages/en.json
index c8c8c86f5..8f0af5b3b 100644
--- a/web/messages/en.json
+++ b/web/messages/en.json
@@ -60,7 +60,8 @@
"reports": "Reports",
"settings": "Settings",
"analytics": "Analytics",
- "optimization": "Optimization"
+ "optimization": "Optimization",
+ "toggleMenu": "Toggle navigation menu"
},
"actionCenter": {
"tabs": {
@@ -1405,7 +1406,9 @@
"integrations_connected": "Connected",
"integrations_notConfigured": "Not configured",
"integrations_disconnect": "Disconnect",
- "integrations_disconnectDescription": "The stored connection is removed for the whole organization. You can reconnect at any time."
+ "integrations_disconnectDescription": "The stored connection is removed for the whole organization. You can reconnect at any time.",
+ "removeMember": "Remove team member",
+ "invitationActions": "Invitation actions"
},
"brands": {
"title": "Brands",
diff --git a/web/src/components/layout/mobile-nav.tsx b/web/src/components/layout/mobile-nav.tsx
index 57fe6df53..f3d93aa54 100644
--- a/web/src/components/layout/mobile-nav.tsx
+++ b/web/src/components/layout/mobile-nav.tsx
@@ -45,9 +45,13 @@ export function MobileNav() {
return (
<Sheet open={open} onOpenChange={setOpen}>
- <SheetTrigger render={<Button variant="ghost" size="icon" className="md:hidden" />}>
+ <SheetTrigger
+ render={
+ <Button variant="ghost" size="icon" className="md:hidden" aria-label={t('toggleMenu')} />
+ }
+ >
<Menu className="h-5 w-5" />
- <span className="sr-only">Toggle menu</span>
+ <span className="sr-only">{t('toggleMenu')}</span>
</SheetTrigger>
<SheetContent side="left" className="flex w-64 flex-col p-0">
<div className="flex gap-2 h-16 items-center border-b px-4">
diff --git a/web/src/components/settings/team-section.tsx b/web/src/components/settings/team-section.tsx
index ea79fbe1d..5ee9df6d3 100644
--- a/web/src/components/settings/team-section.tsx
+++ b/web/src/components/settings/team-section.tsx
@@ -214,6 +214,7 @@ function MemberRow({
isAdmin: boolean;
onChanged: () => void;
}) {
+ const t = useTranslations('settings');
const [pendingRole, setPendingRole] = useState<TeamRole | null>(null);
const [removing, setRemoving] = useState(false);
const [removeDialogOpen, setRemoveDialogOpen] = useState(false);
@@ -294,7 +295,7 @@ function MemberRow({
<Dialog open={removeDialogOpen} onOpenChange={setRemoveDialogOpen}>
<DialogTrigger
render={
- <Button variant="ghost" size="icon-sm">
+ <Button variant="ghost" size="icon-sm" aria-label={t('removeMember')}>
<Trash2 className="h-4 w-4" />
</Button>
}
@@ -336,6 +337,7 @@ function InvitationRow({
isAdmin: boolean;
onChanged: () => void;
}) {
+ const t = useTranslations('settings');
const [busy, setBusy] = useState<'revoke' | 'resend' | null>(null);
async function handleRevoke() {
@@ -383,7 +385,12 @@ function InvitationRow({
<DropdownMenu>
<DropdownMenuTrigger
render={
- <Button variant="ghost" size="icon-sm" disabled={busy !== null}>
+ <Button
+ variant="ghost"
+ size="icon-sm"
+ disabled={busy !== null}
+ aria-label={t('invitationActions')}
+ >
{busy ? (
<Loader2 className="h-4 w-4 animate-spin" />
) : (