dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

Home Page:https://asp.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A11y_.NET Core_ASP.NETCore_ReactLogin_NonTextContrast: The color contrast ratio of the focus indicator of the "Login" button and "Remember me" checkbox is less than 3:1.

Truptik12 opened this issue · comments

42370_A11y_ NET Core_ASP NETCore_ReactLogin_NonTextContrast

Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”

GitHubTags:#A11yMAS;#A11yWCAG2.1;#A11yTCS;#.NET Core[aspnetcore]-Win32-June2022;#.NET Core;#A11ySev2;#WCAG1.4.11;#DesktopApp;#Win11;#ColorContrast;#Benchmark;

Environment Details:

.NET Core
ASP.NET Core
Operating System: Windows 11 Enterprise 21H2

Steps to Reproduce:

  1. Open command prompt
  2. Create a folder using command "mkdir foldername" e.g. "mkdir React"
  3. Move to the created directory using command "cd foldername"
  4. Run the following command "dotnet new react -au Individual" and hit enter.
  5. Run the following command "dotnet run"
  6. Copy the First URL link from Command prompt and copy it
  7. Paste it in URL section of Browser and hit Search
  8. Browser page will open with above template loaded
  9. Test the Login Page
  10. Turn on Color contrast analyzer and check that The Color contrast ratio of the focus indicator of the "Login" button and "Remember me" checkbox is less than 3:1.

Actual:

The Color contrast ratio the focus indicator of the "Login" button and "Remember me" checkbox is less than 3:1.
This issue is observed throughout the application for all the "Login" buttons and "Remember me" checkboxes.

Expected:

The Color contrast ratio of the focus indicator of the "Login" button and "Remember me" checkbox should be more than or equal to 3:1.

User Impact:

Low vision users won't be able to see the focus indicator.

Should be fixed by dotnet/spa-templates#73

@HaoK

We downloaded the latest RC1 build from the first column of the above table and verified the bug, and the bug still reproduces.
Please find the attachment of the version.
image
Could you please provide the repro steps that you followed, if the issue is not reproducing at your end.

We have installed latest build dotnet-sdk-7.0.100-rc.2.22452.3-win-x64 but getting a below error.

image

@Truptik12 - the updated machine setup instructions are as follows:

  1. On a clean machine install .NET RC2 SDK from the Top, Middle cell in the Installer Table
  2. Open a command prompt and enter the following command: dotnet nuget add source -n dotnet7 https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json
  3. Follow the test repro steps from here.

Verified the bug in the above environment. The bug does not repro. Hence closing the bug. Please find the screenshot attached.

image

Issue is fixed. Adding #Closed; tag.