TIL that HTML5 spec specifies a href="#top"
and href="#"
fragment to quickly jump to the top of any document. No need to provide a matching anchor. Pretty handy stuff.
https://html.spec.whatwg.org/multipage/browsing-the-web.html#scroll-to-the-fragment-identifier
My yearly account purge is in full-swing. Casualties include toxic social media, dead apps, useless subscriptions of diminishing returns. Also, I won’t be signing up for services that have unclear account deletion and data export policies.
<input type=range>
is an absolutely horrible way to accept values on touch devices, especially when the range is large. Provide an element where users can directly type the value.
Using placeholder without a label on the credit card field for example has the screen reader say “kisses kisses kisses kisses” (cz the placeholder is xxxx-xxxx-xxxx-xxxx) instead of “credit card number” 😅
docs are hard, often harder than code
I was playing with 11ty/is-land by @zachleat on my site built with Lume and this thought struck me: its so incredible that this thing is framework / library agnostic. Such a webby thing to do. We need to build more of such things.
Love that @ublockorigin allows me to block the remote fonts on sites, thus forcing a more legible system font stack. Works like charm on Twitter.
I’ve been a big fan of CTEs. In many cases, they are easier to reason with. They are also faster when the same datasets need to be reused.