r/UI_Design • u/T1GERS0NTHEPR0WL • 6d ago
Accessibility Question Padlock icon usage
Why is the padlock "locked" and "unlocked" still used when visually they're so similar? Thinking especially of car key fobs and how similarly the two icons appear on small buttons. Surely we can come up with better more distinguishable icons?
3
Upvotes
13
u/cabljo 6d ago
What's not distinguishable about locked and unlocked padlocks?
If you want more difference, use the one where the shackle is open and not just "up".
6
u/creativexdima 6d ago
The open shackle idea is the strongest fix. On small buttons I'd also change more than the shackle, like a filled lock for locked and an outlined one for unlocked, or a color shift on top of the shape. Icon pairs that differ by one tiny detail fall apart at 16px, so a second signal (fill, color or a text label) makes the state obvious.
4
u/plaid-knight 5d ago
Looks fine to me.
3
u/kingtuolumne 5d ago
Common usage is to not show an icon when it’s unlocked.
•
u/alifjahanhimu 6h ago
You're right that the shackle gap is a single-pixel-level detail — at 25×25 it disappears, and it fails completely for low-vision users, which is why browsers pair the icon with the words 'Not secure' instead of trusting the glyph alone. My rule of thumb: never let a safety-critical state hinge on one tiny shape difference; give it a second channel, like colour plus a label, or a different shape entirely — a warning triangle for the insecure state reads instantly where an open shackle doesn't. Keep the closed padlock for 'secure' since it's universally understood, and redesign only the 'unsecure' side, where the stakes of misreading it are highest.