Skip to content

Fix Accessibility Violation for Homepage Logo Link#1945

Open
huangkevin-apr wants to merge 1 commit intocert-manager:masterfrom
huangkevin-apr:fix-a11y-aria-label
Open

Fix Accessibility Violation for Homepage Logo Link#1945
huangkevin-apr wants to merge 1 commit intocert-manager:masterfrom
huangkevin-apr:fix-a11y-aria-label

Conversation

@huangkevin-apr
Copy link

Summary

This PR resolves accessibility violations detected by the IBM Equal Access Accessibility Checker for the homepage logo link in the header component. The fix adds an accessible name to ensure screen reader users can understand the link's purpose.

Problem

image

The IBM A11Y Checker identified the following issues:
Hyperlink Without Accessible Name

  • Element: Homepage logo link in the header ()
  • Issue: The link contains only the SVG component without text or ARIA labels
  • Rule Violated: Hyperlinks must have an accessible name for their purpose
  • Impact: Screen reader users cannot determine that this link navigates to the homepage
  • WCAG Reference: WCAG 2.1 Success Criterion 2.4.4 (Link Purpose in Context)

Root Cause
Logo-only links are a common accessibility anti-pattern. While sighted users intuitively understand that clicking a logo returns to the homepage, assistive technology users receive no information about the link's destination when it lacks proper labeling.

Solution

Added an aria-label attribute to explicitly identify the link's purpose.

Accessibility Impact

This change ensures compliance with WCAG 2.1 Level A standards and improves the experience for:

  • Screen reader users: Now hear "Homepage, link" when navigating the header
  • Keyboard navigation users: Receive clear announcement when focusing the logo link
  • Voice control users: Can navigate using commands like "click homepage"
  • All assistive technology users: Understand the link returns them to the home page

Testing

✅ Accessibility violations resolved in IBM A11Y Checker
✅ Screen readers properly announce "Homepage, link"
✅ No visual or functional changes to the UI

Fix Before
image

Fix After
image

Additional Info

The patch submitted in this PR was generated by A11YRepair, an automated Web Accessibility repair tool that I developed to address common accessibility violations in web applications. The generated fixes were manually reviewed and validated before submission.

@cert-manager-prow cert-manager-prow bot added dco-signoff: no Indicates that at least one commit in this pull request is missing the DCO sign-off message. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 31, 2026
@cert-manager-prow
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign wallrj for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Signed-off-by: huangkevin-apr <huangkevinapr@outlook.com>
@netlify
Copy link

netlify bot commented Jan 31, 2026

Deploy Preview for cert-manager ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c9bc644
🔍 Latest deploy log https://app.netlify.com/projects/cert-manager/deploys/697dc556f6c5c50008b12c01
😎 Deploy Preview https://deploy-preview-1945--cert-manager.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@cert-manager-prow cert-manager-prow bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. and removed dco-signoff: no Indicates that at least one commit in this pull request is missing the DCO sign-off message. labels Jan 31, 2026
@erikgb
Copy link
Member

erikgb commented Feb 2, 2026

/cc @inteon

@cert-manager-prow cert-manager-prow bot requested a review from inteon February 2, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants