UI/UX: Differentiate Security and License icons in Repository Navigation #189406
Replies: 2 comments 1 reply
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
This is excellent UX feedback. Using the same octicon-law icon for both Security and License creates cognitive friction for developers scanning repository metadata quickly. Recommendation:
Benefits:
Implementation note: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Product Feedback
Body
Description
Currently, when navigating a repository's "About" sidebar and the links above the README, the GitHub UI renders the octicon-law (⚖️) for both the License and Security policy sections.
The Problem
Reusing the balance scale icon for two fundamentally different domains degrades the Developer Experience (DX) by reducing visual scannability. When developers scan the UI for vulnerability reporting guidelines, they are visually anchored to the exact same icon used for licensing, creating unnecessary cognitive friction.
Proposed Solution
Update the taxonomy mapping in the repository navigation components to use a distinct, security-focused icon from the Primer library for the SECURITY.md link.
Current Behavior: Security policy renders octicon-law.
Expected Behavior: Security policy should render octicon-shield or octicon-shield-lock.
Steps to Reproduce
Visit any repository with both a LICENSE and a SECURITY file.
Check the right-hand About sidebar.
Observe that "License" and "Security policy" share the exact same law icon:
octicon-law.Impact
Implementing this minimal adjustment significantly improves repository scannability and aligns the UI with standard developer mental models, where a shield intuitively represents security.
Beta Was this translation helpful? Give feedback.
All reactions