-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Make the text for the Microsoft Store disclaimer yellow. #1682
Comments
I've been looking at accessibility. I'm not sure if we're using colors as well as we could. Does bold standout well enough? I think contrasts well enough with black or blue backgrounds, but other terminal background color schemes might not work so well. I also think we need to change the string from "winget..." to "The Windows Package Manager..." |
Yes, we're working though several a11y issues. There are also differences between the Windows Terminal palette and the PowerShell palette. We have some internal guidance with respect to contrast. Rather than selecting colors, the guidance seems to be heading towards either using text formatting, or a combination of text and color (I'm not a fan of this one as we would need some kind of library to make sure sufficient contrast exists between colors). Something like a "WARNING" or "ERROR" prefix in front of the text. If you don't mind, let's give bold a try and see if that helps. Otherwise we might need to try something else if we get any other feedback. |
I've also seen some examples where all warnings are prepended with "WARNING:" and all errors are prepended with "ERROR:". I'm looping back to see if that is a best practice or not. As we move to more behavior around the complexities with upgrading or importing packages (especially when dependencies are involved), I believe this will become more important to get right. |
Description of the new feature / enhancement
There's been a little confusion (microsoft/winget-pkgs#34313, but I've seen it other places too) about the difference between the msstore source and the winget source from a user perspective.
I think part of this is because the msstore source spews 30 lines to stdout which nobody slows down to read. However, the second line,
This package is provided through Microsoft Store. winget may need to acquire the package from Microsoft Store on behalf of the current user.
is really important for users when they want to know where to ask questions.I think this text should be made yellow so that it pops out to the user. (If we have agreement about this, I can make the PR. Literally a one line, five second change.)
Proposed technical implementation details
Change
context.Reporter.Info()
tocontext.Reporter.Warn()
here.The text was updated successfully, but these errors were encountered: