Raindrop.io Bookmarks 01/25/2022
著
- More to give than just the div: semantics and how to get them right
"When you add CSS to your HTML, it can cause your intended semantics to reset."
- Div divisiveness | scottohara.me
"The <div> is the most versatile and used element in HTML. It represents nothing, while allowing developers to manipulate it into almost anything by use of CSS (for styling), JavaScript (for functionality) and ARIA (for accessibility information)."
- Frontend Predictions for 2022 | Jay Freestone
"Remix prides itself on working (interactivity and all) without JavaScript, leveraging a traditional form-based approach over client-side shenanigans. Similarly, frameworks such as Astro have been encouraging partial hydration and the islands architecture, preferring to lazily 'enhance' components and fall back to sensible no-JS defaults."
- Getting Started With CSS Cascade Layers -- Smashing Magazine
"If you are writing small, contained projects that are not shared with a team or not meant for re-use, you may not see much value in cascade layers. Most certainly, they won't be needed on every project."
- 3 Ways We Fail to Take Accessibility Seriously | CSS-Tricks - CSS-Tricks
"Imagine you've learned a foreign language, but you only learned that language's slang. Your words are technically correct, but there are a lot of native speakers of that language who will never be able to understand you. JavaScript-first web developers are often technically correct from a JavaScript perspective, but they also frequently create solutions that leave out a whole lotta people in the end."
- No, Apple Did Not Crowdfund :focus-visible in Safari - Eric's Archived Thoughts
"The addition of :focus-visible to WebKit was lead by the community, done by Igalia, and contributed to WebKit without any involvement from Apple except in the sense of their reviewing patches and accepting the contributions."