pwa-builder / PWABuilder

The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
https://docs.pwabuilder.com
Other
2.54k stars 273 forks source link

{Freeway-Bug}[PWA Builder]: Color contrast ratio fails for the URL after pasting inside the 'enter the URL' edit field. #4743

Open Anshi0420 opened 2 weeks ago

Anshi0420 commented 2 weeks ago

What happened?

When a URL is pasted into the 'enter the URL' edit field, the color contrast ratio between the text color and the background fails to meet accessibility standards i.e., 2.8:1.

How do we reproduce the behavior?

Repro Steps:

  1. Open the above URL.
  2. Navigate to the 'Enter URL' edit field.
  3. Pase any URL.
  4. Check the color contrast ratio with the color contrast analyzer tool.
  5. Observe the issue.

What do you expect to happen?

The text color and background should ensure a sufficient color contrast ratio (typically 4.5:1 for normal text) after a URL is pasted into the edit field.

What environment were you using?

Test Environment: OS Build: Windows 11 Enterprise Insider Preview 24H2 (26120.461) Edge Browser: Version 123.0.2400.1 (Official build) dev (64-bit) URL: https://www.pwabuilder.com/ Tool: Color contrast Analyzer

Additional context

User Impact: Users with visual impairments, such as low vision or color blindness, may find it difficult or impossible to read the pasted URL in the edit field due to inadequate color contrast.

WCAG Reference: https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum

Attachments: MAS1 4 3_Color contrast ratio fails for the URL after pasting inside the 'enter the url' edit field