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

[PWA Builder]: Insufficient Color Contrast for Close Icon Button on Share Score Dialog. #4749

Open Anshi0420 opened 2 weeks ago

Anshi0420 commented 2 weeks ago

What happened?

The color contrast analyzer indicates that the Close icon button on the Share score dialog has a contrast ratio of 1.7:1, which is below the recommended 3:1 for non-text graphical elements.

How do we reproduce the behavior?

Repro Steps:

  1. Open the above URL.
  2. Navigate to the Share score button and activate it, dialog will open.
  3. Observe the color contrast ratio for the close icon button.

What do you expect to happen?

The Close icon button on the Share score dialog should have a color contrast ratio of at least 3:1 against its background to ensure sufficient visibility and accessibility.

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/reportcard?site=https://webboard.app Tool: Color contrast Analyzer

Additional context

Note: Issue is also repro at https://docs.pwabuilder.com/#/home/sw-intro for search clear icon button which appears after typing any text in search edit field.

User Impact: Users with visual impairments, such as low vision or color blindness, may struggle to perceive or locate the Close icon button on the Share score dialog due to inadequate color contrast.

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

Attachments: MAS1 4 11_CCA fails for the close icon button on share dialog

CCA fails for search clear button

microsoft-github-policy-service[bot] commented 11 hours ago

This issue has been marked as "needs attention 👋" since it has not been triaged for 7 days. Please triage the issue .