Welcome to another edition of This Week in #dev, a series of posts where we bring some of our most interesting Slack conversations to the public.
Alternative Text for CSS-Generated Content
Matheus Richard learned that the CSS content property accepts
alternative text for screen readers, separated by a /:
.warning::before {
content: "⚠️" / "Warning";
}
Without the alt text, assistive technology either reads out the emoji name or skips it entirely. More details in Stefan Judis’ article.
A Faster UI for Large GitHub Diffs
Matheus Richard shares diffshub, a tool that renders PR
diffs GitHub struggles with. It’s a drop-in replacement: swap github.com for
diffshub.com in any PR URL, like
https://diffshub.com/oven-sh/bun/pull/30412.
Aube, a New JavaScript Package Manager
Jared Turner shares Aube, a JavaScript package manager from the creator of Mise. It’s pitched as fast, compatible with existing lockfiles, and security-focused, including a 24-hour cooldown before newly published versions can be installed.
Thanks
This edition was brought to you by Jared Turner and Matheus Richard. Thanks to all contributors! 🎉