frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

On The <dl>

https://benmyers.dev/blog/on-the-dl/
35•ravenical•1h ago

Comments

turtleyacht•52m ago
Hoped to see CSS for the alternative, where <div> is not nested inside the <dl>. Too used to thinking of div as "layout containers."
Telemakhos•19m ago
I was a bit surprised to see nested <div>s given as some sort of precursor pattern, when <dl> was part of HTML before 2.0 back in the days of table layout.
rickstanley•17m ago
I've used this a good amount of times, when I coded in front end projects. The first time gave me that satisfying feeling of using the right tool for the job, like completing a puzzle of HTML semantics. I remember JAWS not announcing it correctly in 2018, not sure if it's better now.
wizzwizz4•5m ago
When I checked in 2024 or 2025, Windows Narrator announced it differently in Chrome, Firefox, Edge (Chromium mode) and Edge (IE mode), and none of them worked how I would expect them to. Adrian Roselli's verdict (https://adrianroselli.com/2025/01/updated-brief-note-on-desc...):

> Description list support continues to be generally good (with VoiceOver still the outlier), even if you may not like how it is supported.

You shouldn't try to fix this kind of thing by mangling the HTML, since (1) users tend to be used to their screen reader's quirks, and (2) in situations like these, making it juuuust right in one screen reader is likely to make it incomprehensible in another. But it is important to be aware of these quirks, so you don't accidentally design an interface that relies on less-quirky behaviour.

phyzix5761•17m ago
I'm curious if the spec actually says you can only wrap it with a div because I like to do semantic html and name my elements specific to my domain.
philo23•13m ago
Yep, I was a little surprised about that too, seem like it is valid though https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...
Tomte•12m ago
Yes: https://html.spec.whatwg.org/multipage/grouping-content.html...
wonger_•10m ago
Seems like div is the only recommended wrapper element:

https://html.spec.whatwg.org/multipage/grouping-content.html...

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

EDIT everyone replied at once lol. I'm surprised too about div.

Also, screen reader support: https://a11ysupport.io/tech/html/dl_element

captn3m0•10m ago
> Prior to HTML5, this was called a definition list. This is because the <dl> was originally only intended to represent glossaries of terms and their definitions.

TIL I’ve been naming it wrong for a decade.

MattRix•3m ago
Good title

I Miss Terry Pratchett

https://www.mahl.me/blog/the-spell-that-wouldnt-leave/
134•gorgmah•1h ago•71 comments

80386 Microcode Disassembled

https://www.reenigne.org/blog/80386-microcode-disassembled/
78•nand2mario•1h ago•15 comments

On The <dl>

https://benmyers.dev/blog/on-the-dl/
37•ravenical•1h ago•10 comments

Making Deep Learning Go Brrrr from First Principles

https://horace.io/brrr_intro.html
37•tosh•2h ago•14 comments

Solving the "Zork" Mystery

https://www.dpolakovic.space/blogs/zork-part2
9•dpola•3d ago•2 comments

Shipping a laptop to a refugee camp in Uganda

https://notesbylex.com/shipping-a-laptop-to-a-refugee-camp-in-uganda
562•lexandstuff•16h ago•198 comments

Rubish: A Unix shell written in pure Ruby

https://github.com/amatsuda/rubish
95•winebarrel•7h ago•53 comments

Why Japanese companies do so many different things

https://davidoks.blog/p/why-japanese-companies-do-so-many
754•d0ks•22h ago•354 comments

US tech firms share Dutch regulator officials' names with Senate

https://www.dutchnews.nl/2026/05/us-tech-firms-share-dutch-regulator-officials-names-with-senate/
118•zqna•3h ago•86 comments

BambuStudio has been violating PrusaSlicer AGPL license since their fork

https://xcancel.com/josefprusa/status/2054602354851254330
212•Tomte•5h ago•70 comments

Improving C# Memory Safety

https://devblogs.microsoft.com/dotnet/improving-csharp-memory-safety/
61•soheilpro•1d ago•4 comments

The quadratic sandwich

https://fedemagnani.github.io/math/2026/04/08/the-quadratic-sandwich.html
91•cpp_frog•3d ago•6 comments

A 1955 Los Alamos computer experiment changed our understanding of chaos

https://www.lanl.gov/media/publications/1663/science-of-unpredictability
17•LAsteNERD•3d ago•3 comments

ArcBrush – Node-based 2D image editor

https://arcbrush.com/
40•NatKarmios•2d ago•11 comments

Microsoft starts canceling Claude Code licenses

https://www.theverge.com/tech/930447/microsoft-claude-code-discontinued-notepad
349•robertkarl•20h ago•314 comments

Fast Factorial Algorithms

http://www.luschny.de/math/factorial/FastFactorialFunctions.htm
21•nill0•3d ago•5 comments

Electrobun 2.0 will be decoupled from Bun due to the rust rewrite

https://twitter.com/i/status/2058064720553222567
35•bundie•2h ago•12 comments

Project Glasswing: An Initial Update

https://www.anthropic.com/research/glasswing-initial-update
471•louiereederson•18h ago•282 comments

DHS Quits Granting Green Cards–Almost

https://www.cato.org/blog/dhs-quits-granting-green-cards-almost-entirely
84•malshe•2h ago•67 comments

Yeunjoo Choi from Igalia on Chromium

https://theconsensus.dev/p/2026/05/20/yeunjoo-choi-from-igalia-on-chromium.html
41•eatonphil•3d ago•10 comments

Blood Pumping Mechanism of the Hoof (2020)

https://horses.extension.org/blood-pumping-mechanism-of-the-hoof/
101•thunderbong•3d ago•31 comments

Sleep research led to a new sleep apnea drug

https://temertymedicine.utoronto.ca/news/how-decades-sleep-research-led-new-sleep-apnea-drug
188•colinprince•16h ago•109 comments

CISA tries to contain data leak

https://krebsonsecurity.com/2026/05/lawmakers-demand-answers-as-cisa-tries-to-contain-data-leak/
227•speckx•21h ago•52 comments

Deno 2.8

https://deno.com/blog/v2.8
380•roflcopter69•1d ago•159 comments

Antigravity 2.0 Tops the OpenSCAD Architectural 3D LLM Benchmark

https://modelrift.com/blog/openscad-llm-benchmark/
400•jetter•1d ago•153 comments

What is the history of the ERROR_ARENA_TRASHED error code?

https://devblogs.microsoft.com/oldnewthing/20260519-00/?p=112339
47•supermatou•2d ago•13 comments

Neutron scattering explains why gluten-free pasta falls apart (2025)

https://phys.org/news/2025-09-science-spaghetti-neutron-gluten-free.html
84•layer8•3d ago•32 comments

A Wayland Compositor in Minecraft

https://modrinth.com/mod/waylandcraft
239•Jotalea•2d ago•56 comments

Experience: We found a baby on the subway – now he's our 26-year-old son

https://www.theguardian.com/lifeandstyle/2026/may/22/experience-found-baby-subway-now-26-year-old...
169•Michelangelo11•6h ago•49 comments

Comparing an LZ4 Decompressor on Four Legacy CPUs

https://bumbershootsoft.wordpress.com/2026/05/09/comparing-an-lz4-decompressor-on-four-legacy-cpus/
83•tosh•3d ago•6 comments