question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix casing for context menu entries on MacOS

See original GitHub issue

Description

In https://github.com/brave/brave-browser/issues/25532 we had a discussion on the correct casing on macOS. The conclusion was that context menus should be Title Case.

We should update the Hide Brave Rewards icon text to be Hide Brave Rewards Icon Hide Brave Wallet icon text to be Hide Brave Wallet Icon

Anything else @stephendonner @sangwoo108 @aguscruiz

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
sangwoo108commented, Oct 22, 2022

that works, though I’m not familiar with any best practices

https://developer.apple.com/design/human-interface-guidelines/components/system-experiences/the-menu-bar/

Prefer short, one-word menu titles. Various factors

This line is what I referred to.


re: labeling of UI elements for screenreaders.

Wow, this is a very good point. I’ve played with Voice Over on Mac, and find that it could be confusing. Voice over lets me know that I’m in the menu, but I can’t know for which this menu is. But in order to trigger a menu item for a button, the button should be focused and Voice Over let us know what button is focused now. So the flow is like

  • Focus button image

  • Open menu image image

  • Navigate to the item image


Maybe context menus for bookmarks could be an analog for this. They have random item title but doesn’t show it on the context menu. I think it could be okay because they’re literally “contextual” so users could be aware of what they’re interacting with.


Then I noticed that could be why Chromium folks put an extension name on the top of extension menu while it’s disabled. When using Voice Over and navigating items with keyboard, the name of an extension will be read out.

image

But this strategy could be too much for our purpose.

0reactions
stephendonnercommented, Dec 23, 2022

Verified PASSED using

Brave 1.47.136 Chromium: 108.0.5359.128 (Official Build) beta (x86_64)
Revision 1cd27afdb8e5d057070c0961e04c490d2aca1aa0-refs/branch-heads/5359@{#1185}
OS macOS Version 11.7.2 (Build 20G1020)

Confirmed the strings are:

  • Hide Brave Rewards Icon
  • Hide Side Panel Icon
  • Hide Brave Wallet Icon
  • Hide Brave VPN icon
Brave Rewards side panel Brave Wallet Brave VPN
Screen Shot 2022-12-23 at 11 42 52 AM Screen Shot 2022-12-23 at 11 43 10 AM Screen Shot 2022-12-23 at 11 43 17 AM Screen Shot 2022-12-23 at 11 45 47 AM
Read more comments on GitHub >

github_iconTop Results From Across the Web

Customizing the Mac Context Menu - YouTube
https://macmost.com/e-2778 The context menu appears when you Control+click, right+click, or two-finger click something on a Mac.
Read more >
Right click context menu opens then close… - Apple Community
It's not present on any Snow installs I've done. Try going to: /Library/Contextual Menu Items/ and ~/Library/Contextual Menu Items/ and move ...
Read more >
How to Edit the Context Menu in macOS - Make Tech Easier
The primary method for adding and removing context menu items from macOS's context menu is through services. The services appear under the “ ......
Read more >
Remove entries from finder's context menu? - Ask Different
I have worked out a solution for this that (so far) works for default Finder right menu context ...
Read more >
How to Add/Remove Items from Context Menu in MacOS
Customize context menus with Automator ; Select Maintenance for your document.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found