Raindrop.io Bookmarks 07/16/2023
著
- All the places where you can use prefers-color-scheme media query -- Amit Merchant -- A blog on PHP, JavaScript, and more
"You can also use the prefers-color-scheme media query to load favicons based on the user's color scheme."
- How to build a website without frameworks and tons of libraries | Koding Kitty
"To put it another way, the solution we designed for our website and the current hype is just a coincidence. Our stack is simple because we wanted something pragmatic with minimal friction for the developers."
- Negative-Space Typography - Christopher Butler
"Because by varying the space between the lines of text, you make it easier for a scanner to perceive the structure of the page -- specifically, what things go with one another and what things support other things."
- Live Regions in React - DEV Community
"When using aria-live, there is one simple rule to follow for reliable live region updates in VO/Safari, VO/Chrome, and NVDA/Chrome. Don't unmount the container with the aria-live attribute. Always leave it in the DOM."
- Why Accessibility Overlays Fall Short | Viget
"Whether you want to build a product MVP or a marketing website, we think through all the possibilities to make sure the site is accessible. When a website is designed and built with an "accessibility first" mindset, there is no need for accessibility overlays because the site is inclusive for all users."
- Interoperability with specific assistive technologies or: "Does the website work on JAWS?" - Karl Groves
"The most important thing to remember when discussing interoperability of a system with assistive technologies is that no assistive technology can overcome bad code. In fact, assistive technologies rely on good code in order to properly convey content to the end user."