Skip to content

Commit 87ef0a2

Browse files
committed
Add example of role=“doc-subtitle”
1 parent fca2b42 commit 87ef0a2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

partials/section.headings.hbs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,14 @@
3636
<h2>Title</h2>
3737
<p>Subtitle</p>
3838
</header>
39+
<header>
40+
<h2>Title</h2>
41+
<p role="doc-subtitle">Subtitle</p>
42+
</header>
3943

4044
<h2 id="notes-headings">Notes:</h2>
41-
<p>
42-
<small>Ensure that headings create a logical order. Apply <abbr="Cascading Style Sheets">CSS</abbr> classes to control visual presentation (e.g. <code translate="no">&lt;h2 class=&quot;type-size-medium color-blue-dark&quot;&gt;Our services&lt;/h2&gt;</code> ).</small>
43-
</p>
45+
<ul>
46+
<li><small>Ensure that headings create a logical order. Apply <abbr="Cascading Style Sheets">CSS</abbr> classes to control visual presentation (e.g. <code translate="no">&lt;h2 class=&quot;type-size-medium color-blue-dark&quot;&gt;Our services&lt;/h2&gt;</code> ).</small></li>
47+
<li><small><code translate="no">role="doc-subtitle"</code> is used to alternate title for the work, but still has limited support.</small></li>
48+
</ul>
4449
</section><!-- End of #section-headings -->

0 commit comments

Comments
 (0)