IDREFs: what they are and how to use them

HTMHell. Div, role, table, span. IDREFs: What they are and how to use them.

Kilian Valkhof explains how attributes like for, form, and list create explicit relationships between HTML elements and how ARIA IDREFs improve accessibility by linking names, controls, and structures. He highlights the importance of unique, existing IDs and testing across browsers and assistive technologies.

htmhell.dev/adventcalendar/2025/5