Raindrop.io Bookmarks 10/24/2023
著
- Accessible but never boring (Part 1) | by Stephanie Smith | Wise Design | Aug, 2023 | Medium
"We put our product colours through their paces by treating WCAG 2 as our baseline check, and the more nuanced APCA as our primary method for picking colours. Why all this extra effort? We had to be sure that our design system would open the world up, not shut people out."
- Run a Scroll-Driven Animation only once - Bram.us
"At its core, the code listens for the animationend event on the passed in element. From that element, the relevant animation is filtered out and then stopped."
- No more 404
"When a real user clicks on a link, it's swapped out to be redirected through my own endpoint that checks if the URL is still OK, and if so permanently redirects the visitor, otherwise my endpoint checks the Web Archive for the URL and permanently redirects to that instead."
- FitVids has a web component now | daverupert.com
"Who knows, perhaps one day we'll be able to do aspect-ratio: attr(width) / attr(height); and then this little responsive video horcrux of mine wouldn't be necessary at all. But until that day... god bless."
- A Roundup Of WCAG 2.2 Explainers -- Smashing Magazine
"What are the changes, and how can you conform to them? This roundup provides links to WCAG 2.2 explainers that have been published or updated since the release."
- Strikethrough Accessibility - Web Axe
"NVDA has the best support for <s>, the strikethrough element. For now, to best support screen readers overall, we should continue to use Scenario 3 -- strikethrough with visually hidden text -- to programmatically convey strikethrough semantics."