Skip to content

Commit b3017b3

Browse files
aleventhalcarmacleod
authored andcommitted
Add mark role (#1133)
* Add mark role Co-Authored-By: Carolyn MacLeod <[email protected]>
1 parent 3e9c70b commit b3017b3

File tree

1 file changed

+89
-0
lines changed

1 file changed

+89
-0
lines changed

index.html

+89
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,7 @@ <h3>Document Structure Roles</h3>
656656
<li><rref>legend</rref></li>
657657
<li><rref>list</rref></li>
658658
<li><rref>listitem</rref></li>
659+
<li><rref>mark</rref></li>
659660
<li><rref>math</rref></li>
660661
<li><rref>meter</rref></li>
661662
<li><rref>none</rref></li>
@@ -4832,6 +4833,94 @@ <h2>Definition of Roles</h2>
48324833
</tbody>
48334834
</table>
48344835
</div>
4836+
<div class="role" id="mark">
4837+
<rdef>mark</rdef>
4838+
<div class="role-description">
4839+
<p>Content which is marked or highlighted for reference or notation purposes, due to the content's relevance in the enclosing context.</p>
4840+
<p>Example uses for <code>mark</code> include:</p>
4841+
<ul>
4842+
<li>Highlighting text in a quotation which is of special interest but is not marked in the original source material, comparable to using a highlighter pen to mark passages of a print article.</li>
4843+
<li>Indicating portions of the content that are relevant to the user's current activity, such as highlighting text matches found by a search feature.</li>
4844+
</ul>
4845+
<p>Authors SHOULD NOT use <code>mark</code> for purely decorative styling such as syntax highlighting.</p>
4846+
</div>
4847+
<table class="role-features">
4848+
<caption>Characteristics:</caption>
4849+
<thead>
4850+
<tr>
4851+
<th scope="col">Characteristic</th>
4852+
<th scope="col">Value</th>
4853+
</tr>
4854+
</thead>
4855+
<tbody>
4856+
<tr>
4857+
<th class="role-abstract-head" scope="row">Is Abstract:</th>
4858+
<td class="role-abstract"> </td>
4859+
</tr>
4860+
<tr>
4861+
<th class="role-parent-head" scope="row">Superclass Role:</th>
4862+
<td class="role-parent"><rref>section</rref></td>
4863+
</tr>
4864+
<tr>
4865+
<th class="role-base-head" scope="row">Base Concept:</th>
4866+
<td class="role-base"> </td>
4867+
</tr>
4868+
<tr>
4869+
<th class="role-related-head" scope="row">Related Concepts:</th>
4870+
<td class="role-related"><code>&lt;mark&gt;</code> in [[HTML]]</td>
4871+
</tr>
4872+
<tr>
4873+
<th class="role-scope-head" scope="row">Required Context Role:</th>
4874+
<td class="role-scope"> </td>
4875+
</tr>
4876+
<tr>
4877+
<th class="role-mustcontain-head" scope="row">Required Owned Elements:</th>
4878+
<td class="role-mustcontain"> </td>
4879+
</tr>
4880+
<tr>
4881+
<th class="role-required-properties-head">Required States and Properties:</th>
4882+
<td class="role-required-properties"> </td>
4883+
</tr>
4884+
<tr>
4885+
<th class="role-properties-head" scope="row">Supported States and Properties:</th>
4886+
<td class="role-properties"> </td>
4887+
</tr>
4888+
<tr>
4889+
<th class="role-inherited-head" scope="row">Inherited States and Properties:</th>
4890+
<td class="role-inherited">Placeholder</td>
4891+
</tr>
4892+
<tr>
4893+
<th class="role-disallowed-head" scope="row">Prohibited States and Properties:</th>
4894+
<td class="role-disallowed">
4895+
<ul>
4896+
<li><pref>aria-label</pref></li>
4897+
<li><pref>aria-labelledby</pref></li>
4898+
</ul>
4899+
</td>
4900+
</tr>
4901+
<tr>
4902+
<th class="role-namefrom-head" scope="row">Name From:</th>
4903+
<td class="role-namefrom">prohibited</td>
4904+
</tr>
4905+
<tr>
4906+
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>
4907+
<td class="role-namerequired"> </td>
4908+
</tr>
4909+
<tr>
4910+
<th class="role-namerequired-inherited-head" scope="row">Inherits Name Required:</th>
4911+
<td class="role-namerequired-inherited"> </td>
4912+
</tr>
4913+
<tr>
4914+
<th class="role-childpresentational-head" scope="row">Children Presentational:</th>
4915+
<td class="role-childpresentational"> </td>
4916+
</tr>
4917+
<tr>
4918+
<th class="role-presentational-inherited-head" scope="row">Inherits Presentational:</th>
4919+
<td class="role-presentational-inherited"> </td>
4920+
</tr>
4921+
</tbody>
4922+
</table>
4923+
</div>
48354924
<div class="role" id="marquee">
48364925
<rdef>marquee</rdef>
48374926
<div class="role-description">

0 commit comments

Comments
 (0)