WebAIM - Web Accessibility In Mind

E-mail List Archives

for

From: Steve Green
Date: Aug 4, 2025 8:08AM


Thanks, Christine. What you are saying is true of HTML4 and XHTML 1.x, but HTML5 allows heading elements to be children of links. As you say, it's much more flexible, to the point of allowing almost any element to contain almost any other element.

The whole rationale for dropping SC 4.1.1 was that there is now a specification that tells browsers how to create the DOM when elements are nested incorrectly, but they are not nested incorrectly in this case. Given that this specification exists and browsers should apply it when the HTML5 doctype is specified, it is all the stranger that JAWS and NVDA behave differently from VoiceOver.

Steve