I'm trying to clarify how subheadings should be markuped in HTML in 2020.
The HTML Living Standard, 1 September 2020 spec says to use a <hgroup>:
The element is used to group a set of h1–h6 elements when the heading has multiple levels, such as subheadings, alternative titles, or taglines.
The Headings and sections section of the same spec explains how the HTML outline algorithm generates a content outline showing that the subheading in a <h2> in the following example the does not appear in/disrupt a page's structural outline.
<hgroup id="document-title">
<h1>HTML</h1>
<h2>Living Standard — Last Updated 12 August 2016</h2>
</hgroup>
Splendid! Except the usage notes for <hgroup> on MDN (Last modified on 12 Apr 2020 at the time of writing) says:
[Given that] the HTML outline algorithm is not implemented in any browsers—then the semantics are in practice only theoretical.
But marking things up semantically has practical application with respect to accessibility, so what to do?
Sifting through mostly quite outdated search results, the best guides I can find seem to point towards using a <p> (eg. Usability & Web Accessibility). However, w3.org's Common idioms without dedicated elements page that is typically used as a reference for this technique redirects to whatwg.org's version (following the MOU between the two orgs in May 2019) which doesn't include the <p> for subheadings idiom because, of course, there is the <hgroup> element.
And so I've come full circle to my original question; how should I markup a subheading in HTML in 2020?