imekachi.bsky.social
@imekachi.bsky.social
Reposted
#CSS text-box
a very exciting feature!

available in:
Chrome 133 & Safari 18.2

My post on Chrome Developers:
developer.chrome.com/blog/css-tex...

nerdy.dev/text-box-trim
January 14, 2025 at 9:34 PM
How to type the `ref` prop in React 19.
December 15, 2024 at 3:43 PM
Reposted
📝 New post!

`aria-label` and `aria-labelledby` aren't allowed on divs, spans, and other static text elements out of the box, and *most* screenreaders won't announce them.

#accessibility #a11y
Don’t Use aria-label on Static Text Elements
Don’t use the aria-label or aria-labelledby attributes on divs, spans, or other elements representing static/noninteractive text-level semantics, unless you’re also updating roles.
benmyers.dev
December 7, 2024 at 7:57 PM
Reposted
React v19 is now stable!

react.dev/blog/2024/12...
React v19 – React
The library for web and native user interfaces
react.dev
December 5, 2024 at 7:05 PM
Reposted
✂️Code cleanup / removal is vital to get right. Don't leave leftovers behind! Otherwise, you'll maintain dead code forever. Knip can really help here - one of my favourite tools in the CI toolchain: knip.dev
Declutter your JavaScript & TypeScript projects
Project linter to find and remove unused files, dependencies and exports in JavaScript and TypeScript projects
knip.dev
November 4, 2024 at 10:08 AM