Skip to content

Focus indicator has insufficient color contrast on "Home" and "Privacy" links.: A11y_.NET Core Cloud Platform (ASP.NET Core)_WebSample_NonTextContrast #68228

Closed

Description

@PoojaNamde

Github Tags:

#A11yTCS; #A11yMAS; #WCAG1.4.11; #A11ySev2; #ScreeReader; #E2E_.NETCoreCloudPlatform_Web_Aug2026; #DesktopWeb; #FTP; #.NET Core Cloud Platform; #ChromiumEdge; #NonTextContrast; #a11ydb-focus-low-contrast;

Issue Subcategory:

Focus indicator has low contrast

User Experience:

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.

Repro Steps:

Open URL: http://localhost:5021 > Home and Privacy links> Observe the issue.

Actual Result:

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.

Environment details:

Application Name: .NET Core Cloud Platform (ASP.NET Core)
URL: http://localhost:5021
OS: Windows 11 Enterprise Insider Preview 26300.8276

Note:

"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.

Attachment:

Image Image

Activity

  1. added theissue type on Sep 2, 2026
  2. github-actions commented on Sep 2, 2026

    @github-actions
    Contributor

    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

    • None found

    Generated by Issue Triage Agent for dotnet/aspnetcore · auto · 58.4 AIC · ⌖ 1.52 AIC · ⊞ 27.6K · ◷

  3. added
    feature-accessibility
    area-mvc
    area-identity
    on Sep 2, 2026
  4. linked a pull request that will close this issueImprove template navigation focus contrast #68998on Sep 2, 2026
  5. added this to the 11.0-rc2 milestone on Sep 3, 2026
  6. Youssef1313 commented on Sep 10, 2026

    @Youssef1313
    Member

    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.

  7. PoojaNamde commented on Sep 11, 2026

    @PoojaNamde
    Author

    @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.

    Image
  8. PoojaNamde commented on Sep 15, 2026

    @PoojaNamde
    Author

    #Closed; #Regressed:09-15-26; #A11yFixed;

    Verified the issue in the environment and issue is fixed hence closing the bug.

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

Metadata

Metadata

Labels

area-identityarea-mvcfeature-accessibility

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions