Fix Accessibility Violation for Homepage Logo Link#1945
Open
huangkevin-apr wants to merge 1 commit intocert-manager:masterfrom
Open
Fix Accessibility Violation for Homepage Logo Link#1945huangkevin-apr wants to merge 1 commit intocert-manager:masterfrom
huangkevin-apr wants to merge 1 commit intocert-manager:masterfrom
Conversation
Contributor
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Signed-off-by: huangkevin-apr <huangkevinapr@outlook.com>
✅ Deploy Preview for cert-manager ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
4c9e58c to
c9bc644
Compare
Member
|
/cc @inteon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
The IBM A11Y Checker identified the following issues:
Hyperlink Without Accessible NameRoot 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-labelattribute 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:
Testing
✅ Accessibility violations resolved in IBM A11Y Checker
✅ Screen readers properly announce "Homepage, link"
✅ No visual or functional changes to the UI
Fix Before

Fix After

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.