Skip to content

UI/UX: Missing aria-label on icon-only back button in AuthHeader#6246

Open
kumburovicbranko682-boop wants to merge 1 commit into
dailydotdev:mainfrom
kumburovicbranko682-boop:contribai/fix/ui/missing-aria-label-on-icon-only-back-but
Open

UI/UX: Missing aria-label on icon-only back button in AuthHeader#6246
kumburovicbranko682-boop wants to merge 1 commit into
dailydotdev:mainfrom
kumburovicbranko682-boop:contribai/fix/ui/missing-aria-label-on-icon-only-back-but

Conversation

@kumburovicbranko682-boop

Copy link
Copy Markdown

🎨 UI/UX Improvement

Problem

The back button renders only an ArrowIcon with no visible text. No aria-label or aria-labelledby is provided, so screen readers will announce it generically as "button" with no indication of its purpose. For icon-only buttons, an accessible name is required by WCAG 4.1.2.

Severity: medium
File: packages/shared/src/components/auth/AuthHeader.tsx

Solution

<Button
icon={}
variant={ButtonVariant.Tertiary}
className="mr-2"
onClick={onBack}
aria-label="Go back"
/>

Changes

  • packages/shared/src/components/auth/AuthHeader.tsx (modified)

Changes

Events

Did you introduce any new tracking events?

Experiment

Did you introduce any new experiments?

Manual Testing

Caution

Please make sure existing components are not breaking/affected by this PR


🤖 About this PR

This pull request was generated by ContribAI, an AI agent
that helps improve open source projects. The change was:

  1. Discovered by automated code analysis
  2. Generated by AI with context-aware code generation
  3. Self-reviewed by AI quality checks

If you have questions or feedback about this PR, please comment below.
We appreciate your time reviewing this contribution!

Closes #6245

…eader

The back button renders only an ArrowIcon with no visible text. No aria-label or aria-labelledby is provided, so screen readers will announce it generically as "button" with no indication of its purpose. For icon-only buttons, an accessible name is required by WCAG 4.1.2.


Affected files: AuthHeader.tsx

Signed-off-by: kumburovicbranko682-boop <295886834+kumburovicbranko682-boop@users.noreply.github.com>
@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

@kumburovicbranko682-boop is attempting to deploy a commit to the Daily Dev Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(shared): missing aria-label on icon-only back button in authheader

2 participants