Raindrop.io Bookmarks 10/05/2022
著
- A CSS class-naming convention might still be your best choice - Ben Frain
"In the last 10 years tooling has come and gone, frameworks and libraries have been sun-setted, and brand new possibilities like Cascade Layers have been made possible on the Web Platform. But the usefulness and resilience I have enjoyed from a good CSS naming convention has not diminished."
- Clarifying Color Contrast & Font Size Guidelines
"I'll admit this is a case where WCAG can be confusing-at least it was for me. The Non-Text Contrast criterion (1.4.11) does mention leveraging the rationale for "large-text contrast" in Contrast minimum (1.4.3), which has the 3:1 ratio. But it wasn't immediately clear that text inside of a user interface component would fall under the different success criterion."
- My Five Biggest Design System Mistakes | by Steve Dennis | Sep, 2022 | Medium
"Don't overcomplicate decision points. What we should have done was had a simple, fairly static semantic theme palette for general design use, and then have components use their own palettes with hyper-specific token aliases (based on Nathan Curtis' fantastic article on token naming)."
- Website Optimization Measures, Part XV · Jens Oliver Meiert
"Removing favicon references. The eternal favicon dance! Favicon markup should be simple (none), but Firefox for Android was one of those browsers that needed it. No more!"
- Why I don't use Prettier
"If you have ever come across my open source projects, you might find that I rarely use Prettier to format the source code. In this post, I would try to explain the reason why I made this decision"
- Quick reminder: HTML5 required and pattern are not a security feature | Christian Heilmann
"Any form that relies on this feature alone can be defeated by using the Developer Tools Console and using JavaScript to submit the form."
- Accessibility is for Every One
"The fact that no two people use their device in exactly the same way, and some people may use it in a way that's entirely unique. Accessibility is for them too."