Be Wary of doc-subtitle | Adrian Roselli

Be Wary of doc-subtitle

August 16, 2020; 0 Comments

In early March, Steve Faulkner shared this nugget for making sub-headings:

👉If you want to semantically identify a heading subtitle, look no further than role="doc-subtitle" w3.org/TR/dpub-aria-1.0/#doc-subtitle
#HTML #ARIA #WebDev pic.twitter.com/uaHcVRp6oz

Steve Faulkner (@stevefaulkner) March 7, 2020

On its surface it looks pretty handy. Handy enough that Chris Ferdinandi wrote about it in his July 23 post How to create accessible subtitles. Handy enough that Chris Coyier wrote about it in his August 6 post HTML for Subheadings and Headings.

Neither of these talks about support (first Chris is updating his post) [...]

Accessibility


5 stars; 92.5% of tests passed. [Note: this rating is a work in progress.]
Errors
Level ALevel AALevel AAAUnique
1088887117

Error data courtesy of Tenon.io

Article Taxonomies

Categories: Terms: , , , , , ,