You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Focus indicator has insufficient color contrast on "Home" and "Privacy" links.: A11y_.NET Core Cloud Platform (ASP.NET Core)_WebSample_NonTextContrast #68228
area-identityIncludes: Identity and providersarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesfeature-accessibilityThis issue has accessibility impact
People who are primarily using keyboard to navigate and have low vision may not be able to see where focus is located, making keyboard navigation hard to follow.
When keyboard focus moves to the Home and Privacy links, the focus border is visible but has a contrast ratio of only 1.285:1, making it difficult to perceive.
Expected Result:
The focus indicator should have a contrast ratio of at least 3:1 against adjacent colors/background so that keyboard users can easily identify the focused element.
How to Fix:
Adjust the focus indicator color to achieve 3:1 contrast. Consider using a thick (2px+) outline with a contrasting color, or combine outline with box-shadow for visibility on varied backgrounds.
Similar issue also observed in below scenarios:
Issue 1: Blazer sample app: Open URL: http://localhost:5055/weather > Home, Counter and whether tab links> Observe the issue Focus indicator has insufficient color contrast on Home, Counter and whether tab links.
"Please do not close this bug. This bug should only be closed by TCS, C+AI Accessibility tester after bug verification."
"Contact CAI Accessibility Support Channel for Accessibility queries on design, development, test, usability or any processes"
Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.
Area:area-ui-rendering (focus indicator contrast issue on default project template's Home/Privacy navigation links, rendered via Razor/Blazor template CSS) Type:Bug (reproducible contrast ratio measurement of 1.285:1, below the 3:1 threshold, provided by the reporter)
As of writing this comment, there is no staging build available yet that includes the fix, but it can be tested simply by creating a project from template as usual, and manually applying the changes from #69091 to the project produced.
@Youssef1313 Created a project and verified the issue but it is reproducing for me. Could you please let me know how to apply changes from #69091 to the project produced.
area-identityIncludes: Identity and providersarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesfeature-accessibilityThis issue has accessibility impact
Activity
github-actions commentedon Sep 2, 2026
Triage Summary
Area:
area-ui-rendering(focus indicator contrast issue on default project template's Home/Privacy navigation links, rendered via Razor/Blazor template CSS)Type:
Bug(reproducible contrast ratio measurement of 1.285:1, below the 3:1 threshold, provided by the reporter)Potential Duplicates
Youssef1313 commentedon Sep 10, 2026
A fix was merged in #69091.
As of writing this comment, there is no staging build available yet that includes the fix, but it can be tested simply by creating a project from template as usual, and manually applying the changes from #69091 to the project produced.
PoojaNamde commentedon Sep 11, 2026
@Youssef1313 Created a project and verified the issue but it is reproducing for me. Could you please let me know how to apply changes from #69091 to the project produced.
PoojaNamde commentedon Sep 15, 2026
#Closed; #Regressed:09-15-26; #A11yFixed;
Verified the issue in the environment and issue is fixed hence closing the bug.