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_Manageyouraccountprofile_NonTextContrast: The Color contrast ratio of the focus indicator of the "Save" button is less than 3:1.

Swati1700 opened this issue · comments

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;#DesktopWeb;#Win11;#ColorContrast;#Benchmark;#Chrome;

Environment Details:

.NET Core
ASP.NET Core
Operating System: Windows 11 Enterprise 21H2
Chrome: Version 102.0.5005.115 (Official Build) (64-bit)

Steps to Reproduce:

  1. open command prompt
  2. Create a folder using command "mkdir foldername" e.g. "mkdir angular"
  3. move to the created directory using command "cd foldername"
  4. run the following command "dotnet new angular -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. to get access to all the pages you'll need to register first and then log-in.
  10. Login with your registered account
  11. Tab till "Hello with the userid" and click on it.
  12. Navigate to profile and hit enter
  13. Turn on Color contrast analyzer and check that The Color contrast ratio of focus indicator for "Save" is less than 3:1.

Actual:

The Color contrast ratio of the focus indicator of the "Save" button is less than 3:1.

Similar issue also observed in the below scenarios:
Issue 1: ASP.NET Core - ManageyouraccountEmail

  1. open command prompt
  2. Create a folder using command "mkdir foldername" e.g. "mkdir angular"
  3. move to the created directory using command "cd foldername"
  4. run the following command "dotnet new angular -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. to get access to all the pages you'll need to register first and then log-in.
  10. Login with your registered account
  11. Tab till "Hello with the userid" and click on it.
  12. Navigate to Email and hit enter
  13. Turn on Color contrast analyzer and check that The Color contrast ratio of focus indicator for "Change Email" button is less than 3:1.

Issue2: ASP.NET Core - ManageyouraccountPassword

  1. open command prompt
  2. Create a folder using command "mkdir foldername" e.g. "mkdir angular"
  3. move to the created directory using command "cd foldername"
  4. run the following command "dotnet new angular -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. to get access to all the pages you'll need to register first and then log-in.
  10. Login with your registered account
  11. Tab till "Hello with the userid" and click on it.
  12. Navigate to Password and hit enter
  13. Turn on Color contrast analyzer and check that The Color contrast ratio of focus indicator for "Update Password" button is less than 3:1.

Expected:

The Color contrast ratio of the focus indicator of the "Save" button should be more than or equal to 3:1.

User Impact:

Low vision users won't be able to see the focus indicator.
Screenshot (1144)

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
image
Could you please provide the repro steps that you followed, if the issue is not reproducing at your end.

@Swati1700 - latest builds should now have it. There was a small issue with flowing into the installers, but it should be addressed now.

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

@Swati1700 - 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 issue and the issue is fixed. Hence closing the bug.
image

Issue is fixed. Adding #Closed; tag.