-
Notifications
You must be signed in to change notification settings - Fork 58
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
Overhaul accessibility #28
Comments
I've tested to navigate the app with voiceover and the keyboard. if you navigate to the background color by tabbing tested with pika 0.0.13 and macos 12.6.1 and while i was looking up my pika version i've noticed the cheatsheet in the about window stating that copying the foreground color is |
Hey @rpkoller—appreciate you taking the time to write this up. I'm working on a PR that will allow the app to be run as a standard app, rather than a menu bar only one, and that will mean the options for keyboard shortcuts, etc, will be featured in the standard top menu. That should make keyboard shortcuts more accessible. That said, I would love some help with improving the accessibility of the app, especially as I'm not as confident with the accessibility features of SwiftUI. If anyone is looking for an issue to pick up and wants to make a PR, I'd love to check it out. I've added a |
thanks you @superhighfives and apologies for the late reply. i agree on one hand making the keyboard shortcuts available in the main menu makes them more prominent and easier to access. but never the less cmd-c is in the muscle memory for people to copy anything into the clipboard. altering the scope for the cmd c command that it only copies and pastes a specific color into the clipboard might be counter intuitive. so not sure if making the keyboard shortcut more prominent would solve the problem. and in regards of help. i am unfortunately not a developer. the only thing i could provide is input from an ux and a11y perspective as well as do some testing. |
Thanks @rpkoller—appreciate the additional context. Just to clarify, what would you expect to happen, pressing cmd-c? |
good question. i would expect that |
Yeah, I hear you. By focus, were you meaning within Voiceover? Currently outside of Voiceover, Pika doesn't really have a concept of an active state for foreground or background, with the exception of when you're picking a colour—that uses an Apple API that doesn't allow other actions to be performed at that time. That said, I've just spent some time navigating around in Voiceover and there's definitely improvements to be made to the labels. I'll have a think about the idea of having different copy actions on focus in Voiceover, too—I'll need to do some research into how SwiftUI focus states work within something like Voiceover. 🤔 |
I have a beta that allows you to choose between using Pika as a menubar app and Pika as a standard app, in Preferences. Curious if this makes things better from an accessibility point of view, given the standard app has a standard macOS menubar. https://github.com/superhighfives/pika/releases/tag/0.0.14-beta1 (You can either download it above, or run "Check for updates..." in Pika with "Subscribe to beta releases" enabled in the Preferences.) |
Is your feature request related to a problem? Please describe.
This was initially brought up in #18, which shows one example of how the accessibility of the app needs work.
Describe the solution you'd like
The app should be:
Additional context
It currently looks as though https://developer.apple.com/documentation/appkit/nscolorsampler doesn't support keyboard for picking a colour which is a shame. This is tangentally related to #8.
Apple covers some of the implementation details of accessibility in SwiftUI in their WWDC videos, which has some great examples:
https://developer.apple.com/videos/play/wwdc2019/238/
The text was updated successfully, but these errors were encountered: