Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS]: Insufficient Color Contrast for clear button in docs search input #4749

Closed
Anshi0420 opened this issue Jun 20, 2024 · 9 comments
Closed
Assignees
Labels
A11ySev2 Accessibility Team tag - P2 items A11yWCAG Accessibility Team tag - Web Content Accessibility Guidelines Accessibility [E+D] Issues found by the accessibility E+D Team at Microsoft bug 🐛 CT-June24 HCL-E+D needs attention 👋 needs triage 🔍 Product-PWABuilder For Tracking PWABuilder bugs by Accessibility E+D team PWABuilder_Web

Comments

@Anshi0420
Copy link
Collaborator

Anshi0420 commented Jun 20, 2024

What happened?

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

How do we reproduce the behavior?

Repro Steps:

  1. Go to docs.pwabuilder.com
  2. Type some text in docs search input
  3. Observe clear button incorrect contrast

What do you expect to happen?

Color should be within standard guidelines

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://docs.pwabuilder.com/#/
Tool: Color contrast Analyzer

Additional context

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:
CCA fails for search clear button

@Anshi0420 Anshi0420 added bug 🐛 needs triage 🔍 A11yWCAG Accessibility Team tag - Web Content Accessibility Guidelines Accessibility [E+D] Issues found by the accessibility E+D Team at Microsoft A11ySev2 Accessibility Team tag - P2 items HCL-E+D Product-PWABuilder For Tracking PWABuilder bugs by Accessibility E+D team labels Jun 20, 2024
@Jaylyn-Barbee Jaylyn-Barbee changed the title [PWA Builder-Blog]: Insufficient Color Contrast for Close Icon Button on Share Score Dialog. [PWA Builder]: Insufficient Color Contrast for Close Icon Button on Share Score Dialog. Jun 20, 2024
Copy link
Contributor

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

@Jaylyn-Barbee Jaylyn-Barbee self-assigned this Jul 8, 2024
@Jaylyn-Barbee Jaylyn-Barbee moved this to In Review 🤔 in PWABuilder Jul 8, 2024
jgw96 pushed a commit that referenced this issue Jul 8, 2024
Fixed:
#4259 
#4744
Half of #4749: For the search bar clear button, that comes from an
external component we have no control over.
@Jaylyn-Barbee
Copy link
Contributor

PWABuilder issue fixed. Docs issue comes from a third party plugin

Copy link
Contributor

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

3 similar comments
Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor

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

@Jaylyn-Barbee Jaylyn-Barbee changed the title [PWA Builder]: Insufficient Color Contrast for Close Icon Button on Share Score Dialog. [DOCS]: Insufficient Color Contrast for clear button in docs search input Aug 8, 2024
@Jaylyn-Barbee Jaylyn-Barbee moved this from In Review 🤔 to Todo 📃 in PWABuilder Aug 8, 2024
@Jaylyn-Barbee Jaylyn-Barbee moved this from Todo 📃 to Blocked 🔒 in PWABuilder Aug 8, 2024
@Jaylyn-Barbee Jaylyn-Barbee removed their assignment Aug 8, 2024
Copy link
Contributor

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

1 similar comment
Copy link
Contributor

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

@jgw96 jgw96 self-assigned this Aug 26, 2024
jgw96 added a commit that referenced this issue Aug 26, 2024
@jgw96 jgw96 mentioned this issue Aug 26, 2024
3 tasks
jgw96 added a commit that referenced this issue Aug 27, 2024
fixes #4750 
fixes #4749 
fixes #4754 

## PR Type
<!-- Please uncomment one ore more that apply to this PR -->

<!-- - Bugfix -->
<!-- - Feature -->
<!-- - Code style update (formatting) -->
<!-- - Refactoring (no functional changes, no api changes) -->
<!-- - Build or CI related changes -->
<!-- - Documentation content changes -->
<!-- - Sample app changes -->
Other... Please describe: Accessibility fixes

Also added typescript as a dependency to fix a build issue with npm
start + updated shoelace to the latest version

## PR Checklist

- [ ] Test: run `npm run test` and ensure that all tests pass
- [ ] Target main branch (or an appropriate release branch if
appropriate for a bug fix)
- [ ] Ensure that your contribution follows [standard accessibility
guidelines](https://docs.microsoft.com/en-us/microsoft-edge/accessibility/design).
Use tools like https://webhint.io/ to validate your changes.


## Additional Information
@jgw96
Copy link
Contributor

jgw96 commented Aug 27, 2024

Closed with the above PR

@jgw96 jgw96 closed this as completed Aug 27, 2024
@github-project-automation github-project-automation bot moved this from Blocked 🔒 to Done ✔️ in PWABuilder Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A11ySev2 Accessibility Team tag - P2 items A11yWCAG Accessibility Team tag - Web Content Accessibility Guidelines Accessibility [E+D] Issues found by the accessibility E+D Team at Microsoft bug 🐛 CT-June24 HCL-E+D needs attention 👋 needs triage 🔍 Product-PWABuilder For Tracking PWABuilder bugs by Accessibility E+D team PWABuilder_Web
Projects
Status: Done ✔️
Development

No branches or pull requests

4 participants