Diigo Bookmarks 05/01/2020
- Avoid aria-roledescription | Adrian Roselli
"Once you override its role with aria-roledescription, they will hear it in whatever language you provided. There is no auto-translation. We already know you cannot rely on aria-label to auto translate, but it definitely will not with aria-roledescription."
- Design systems are everybody's business
"I love to push the idea that when building a design system, you're not just establishing a resource for creating product, but a tool that, in combination with the right audiences, can promote a company-wide design mentality."
- Using CSS to Control Text Selection / Coder's Block
"Sometimes it's nice to have all the text in an element automatically selected when you click on it. This is particularly handy for text that is copied/pasted in full (code snippets, one-time passwords, promotional codes, etc.)."
- Your dark mode toggle is broken | Kilian Valkhof
"The issue is that most toggles are two states: you either have light mode or dark mode and the choice is forever stored in a cookie or localStorage. And that makes your dark mode toggle broken."
- 15 User Interface Design Principles for Better Websites
"The design facilitates the user in finding out what they want to know or doing what they need to do. The design should never take centre stage."