Colour selections fail accessibility guidelines

Open
#3,828 9 comments 1 reaction 1 assignee View on GitHub

@StevenBucher98 is already working on this.

Since Oct 18, 2023.

Assessment

This issue has not been assessed yet.

Description

Area-Accessibility Needs-Triage :mag:
Prerequisites
Steps to reproduce

PowerShell 7.3.7. Use some commands and trigger "hint" text. For example see the image below:

image

As someone who is slightly colourblind, I can barely see the help text and it certainly does not pass accessibility guidelines according to Accessibility Insights for Windows.

I have tried changing the colour scheme but they all seem to suffer from similar issues and I could not find one that made all the test have a good contrast.

Expected behavior
Text should all be easily readable, albeit perhaps with a need to select a "high contrast" colour scheme.
Actual behavior
Various different text colours, of which the help text is one example, are hard if not impossible to read.
Error details
None.
Environment data
PS > $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.7
PSEdition                      Core
GitCommitId                    7.3.7
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

PS >
Visuals

image

Dominant language
C#
Stars
4.4k
Forks
341
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PowerShell/PSReadLine

All issues in PowerShell/PSReadLine

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.