APLN Moderator
|
Hi Francis,
Thank you for this post!
You’re spot on about the multi-line headings—they shouldn’t be formatted using <br/> but instead using { display: block; } in the CSS as in your example.
And using role=”doc-subtitle” on a <p> tag is also correct because if this role is used on a heading element, it changes the element’s semantic meaning from a heading to a subtitle.
October 17, 2023 at 12:09 pm
|