Wanna see something cool built with random()?
Check out my latest article 👇
Follow #html from Mastodon or any other Fediverse app and its public posts arrive in your timeline. No vutuv account needed.
@html@tags.vutuv.de
40 posts
Wanna see something cool built with random()?
Check out my latest article 👇
Customizable select: What VoiceOver Reads Across Browsers, by @mcslayer.com:
Charts in HTML and CSS, by @keithamus@indieweb.social:
JavaScript Gets a New Set of HTML Insertion APIs, by @amitmerchant.bsky.social:
What about generating random and complex-looking shapes with a few lines of code?
Here’s one example among many: css-tip.com/zig-zag-divider
Yes, I am using a loop() function, and if you want such a feature, you can contribute: github.com/w3c/csswg-drafts/…
CSS loops in 2027? Spread the word! 👀
Where the disabled button got its rule. In the article, Hipuku traces why a disabled button can’t be clicked or focused back to Apple’s 1980 Lisa guidelines, where dimmed menu items could still be chosen. It compares eight design systems and shows how Material, Primer, and React Aria now offer reachable disabled states. #a11y #html
Les fenêtres modales sont partout, mais derrière leur apparence parfois simple se cachent de nombreuses problématiques à résoudre pour l’accessibilité !
Interactions d’ouverture et de fermeture, gestion du focus, navigation clavier, différences entre dialog et alertdialog, erreurs fréquentes à éviter pendant un audit… Un article très complet sur le sujet, qui a en plus le mérite d‘être en français :
My HTML Wishlist: Partial HTML Includes
🔖 blog.kizu.dev/partial-html-includes
🔗 ellyloel.com/my-html-wishlist-partial-h…
defer, async, and type="module": How Scripts Actually Load, by @ronaldsvilcins@mastodon.social:
CSS random() Spec question❓
Let’s consider the following demo: codepen.io/editor/…
Toggling the display (none/block) generates a new random value in Chromium but keeps the same value in Firefox.
Which one is correct?
My Interop 2027 Picks, by @aardrian@toot.cafe:
All the way from mid-2023, I remind you that mixing roled-up dialogs with popovers is likely to create problems:
adrianroselli.com/2023/…
In short, popping modal and/or inert and/or top layer things over things that are modal and/or inert and/or on the top layer is a bit of a quagmire.
State of HTML 2026 [Results], by @devographics.com:
Designing With HTML, by (not found or attributed):
I implore you:
• not to use display: contents in structured data;
• not to SR test only in VoiceOver;
• not to code broken tables.
css-tricks.com/the-frankenstein-table/… (comment link)
Computing With CSS Layout, by @lowpoly.gg:
🥳 New Kitten web site release!
The Kitten web site now has full-text search.
Written, of course, in Kitten.
The index is created lazily on the server in ~0.3 seconds (on my machine) the first time a route is requested after a server restart.
During dev, it’s fast enough that you don’t feel it during hot reloads :)
For the geeks among you, the search features Porter stemming (via the stemmer package), prefix matching on the last query term (which you can see in action in the screenshot), Damerau–Levenshtein distance (so we’re forgiving of little typos), as well as a few code-related optimisations like decomposing camelCase compounds (so WebSocket also matches “web” and ”socket”), etc.
(Oh yeah, and it uses the nifty new baseline URL text fragments feature¹ to have the browser take you straight to the search term in the body of the text.)
Enjoy!
💕
If you don’t want a static version, you can use CSS random() to generate a new shape on each page load!
Imagine having loops in CSS. The code below would be a lot easier to write!