Recent stories
Each story's summary, with the places it was discussed.
Summaries are written by AI from the linked sources. Open the source for full context.
HTML’s `lang` attribute uses BCP 47 language tags such as `en-GB`, while Open Graph’s `og:locale` uses locale identifiers such as `en_GB`.
A language identifies language alone; a locale also specifies regional conventions for dates, numbers, currency, and text handling. The underscore comes from POSIX conventions standardized through ISO/IEC 15897, whereas BCP 47 requires hyphens. Because OGP rarely needs locale-sensitive data, the author suggests replacing `og:locale` with `lang` on individual metadata elements.
Solstice Bingo is a browser-based game inspired by June traditions worldwide, built using plain HTML, CSS, and JavaScript.
The project features dynamic background sky animations and persists progress via localStorage. Developed with Gemini and Claude as coding assistants, the game serves as an interactive celebration of global rituals and a personal learning project.
CSS Clicker is an innovative idle game built entirely using HTML and CSS, functioning without any JavaScript or server-side code.
Developed as a technical challenge inspired by the Cohost community, it allows players to build and upgrade websites. The project demonstrates the power of CSS media queries and state management without traditional scripting.
Gareth Heyes demonstrates how discrepancies between browsers and webmail HTML/CSS sanitizers enable trust-boundary escapes, UI manipulation, indirect prompt injection, token exfiltration, tracking, and password theft across services including Outlook, Fastmail, Gmail, and ProtonMail.
The research details CSS mutation, CSS hotwiring, CSS gadgets, and keyloggers, then recommends sandboxed iframes, strict allowlists, blocked requests, and safer sanitization.
The content provides a curated collection of modern CSS techniques that serve as native replacements for legacy hacks.
It focuses on simplifying web development by offering weekly side-by-side comparisons, helping developers transition from outdated workarounds to clean, modern standards for common styling challenges.
The Invoker Commands API lets buttons declaratively control dialogs and popovers through `commandFor` and `command`, reducing JavaScript event handlers and application state.
It shifts interaction logic to the browser and works with frameworks such as React, where JSX uses `commandFor`. However, it is new, with broad support only in browsers released since December 2025.
Oskar Wickström introduces The Proportional Web, a responsive CSS stylesheet inspired by Robert Bringhurst's The Elements of Typographic Style.
It provides a clean, minimalist, and typographic-focused framework for prose-heavy web documents, utilizing rem units, semantic HTML5, and Alegreya fonts to ensure readability across devices.
The `initial-scale=1.0` setting in HTML’s viewport meta tag was once needed to address zooming issues in older iOS and other browsers.
Modern browsers no longer require it, so responsive sites can use only `<meta name="viewport" content="width=device-width">`, reducing unnecessary bytes while preserving behavior.
Daniel Lemire explores the flexibility of the WHATWG URL specification regarding whitespace.
Browsers ignore ASCII tabs and newlines in standard URLs, though they trigger validation errors. Data URLs, including Base64-encoded images and SVG, offer even greater freedom, allowing various whitespace characters for improved readability without breaking functionality in modern web browsers.
The essay presents an opinionated HTML boilerplate designed for modern compatibility, performance, accessibility, and discoverability.
It explains the purpose and ordering of essential elements, including UTF-8, viewport and text scaling, stylesheets, fonts, Open Graph metadata, canonical URLs, theming, feeds, search, PWA manifests, and semantic body structure, while noting that pages require tailored additions.
MicroLighter is a zero-dependency, approximately 2KB client-side syntax highlighter built on the CSS Custom Highlights API instead of DOM-injected spans.
It uses TextMate grammars loaded on demand, human-readable light-dark() themes, and a separate <micro-lighter> web component for features such as line numbers and copy controls.
The ARIA Authoring Practices Guide (APG) is frequently misused as a best-practices manual for accessibility.
It is meant to demonstrate ARIA specifications, not provide production-ready code. Developers should prioritize native HTML over ARIA to avoid common accessibility errors. Over-reliance on LLMs to generate code from the APG further exacerbates these critical web accessibility issues.
Inline scripts using document.currentScript can replace themselves with computed content, enabling lightweight dynamic rendering without IDs, querySelectors, or a templating backend.
Examples include current or relative years, random greetings, character-level animation markup, metadata-derived headings, and updating footers. The same local-script pattern can hydrate self-contained interactive widgets such as counters. It also supports async data-driven rendering by saving currentScript, though external fetching adds a request and injected HTML must be sanitised; synchronous aliases may hurt performance.
Modern web pages have become unnecessarily bloated, prioritizing complex frameworks and excessive JavaScript over performance and user respect.
By returning to static HTML and CSS, developers can build faster, more accessible sites. Successful examples like McMaster-Carr demonstrate that performance-oriented, minimalist design improves user experience and business outcomes, proving that craftsmanship remains essential in the digital age.
dev.css is a lightweight, classless CSS framework designed to make plain HTML websites look modern and responsive with minimal effort.
Weighing about 4.8kb, it supports semantic HTML, custom themes, and various addons for enhanced functionality. It is ideal for simple projects like blogs, personal websites, and rapid prototyping.
This article explores the technical and cultural journey of reintegrating the historical Cló Gaelach (insular Irish script) into modern web environments.
The author discusses the transition from the traditional script, which used dots over consonants, to the modern Latin character set that uses the 'h' modifier. To preserve heritage while maintaining web standards, the author leverages OTF 'discretionary ligatures' and Font Forge to automatically replace consonant-h pairs with their historical dotted equivalents visually. This method ensures that the underlying text remain accessible for copy-pasting and screen readers. Additionally, the post details a custom Astro component using the HTML <ruby> element to provide English translations over Irish text, balancing idiosyncratic design with modern accessibility and data portability considerations.