解説
通常、作品の範囲または性質を紹介する予備的なセクション(序文)。
例
例1 — 見出し付きの序文
ラベルはaria-labelledby
属性で識別します。
<section role="doc-introduction" aria-labelledby="intro-hd">
<h2 id="intro-hd">Introduction</h2>
…
</section>
例2 — 見出しのない序文
ラベルはaria-label
属性で提供されます。
<section role="doc-introduction" aria-label="Introduction">
<p>Recent theory about the nature of gravity …</p>
…
</section>
ARIAとの関係
doc-introduction
は、landmarkロールです。
使用方法
doc-introduction
は通常、 section
要素で使用します。
aria-labelledby
、 aria-label
、またはtitle
属性のいずれかを使用して、ロールにラベルを指定しなければなりません。
role属性に認められる値についての簡易リストは、EPUBタイプによるARIAロール製作ガイド(EPUB Type to ARIA Role Authoring Guide)の対応表をご覧ください。正式なリストは、HTMLのARIAについて(ARIA in HTML)を参照してください。