Live data from Hacker News

On The (2021)

benmyers.dev

1–10 of 138 posts

Re: On The <dl> (2021)

#5
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.

Re: On The <dl> (2021)

#7

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.

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/...

Re: On The <dl> (2021)

#10
> Prior to HTML5, this was called a definition list. This is because the was originally only intended to represent glossaries of terms and their definitions.

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

Post reply on HN