Skip to content

Commit

Permalink
Add comment role
Browse files Browse the repository at this point in the history
Refers to issue #749
  • Loading branch information
aleventhal committed Feb 7, 2020
1 parent 7193e40 commit d20851c
Showing 1 changed file with 91 additions and 0 deletions.
91 changes: 91 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2327,6 +2327,97 @@ <h2>Definition of Roles</h2>
</tbody>
</table>
</div>
<div class="role" id="comment">
<rdef>comment</rdef>
<div class="role-description">
<p>A comment contains a remark expressing a reaction to other content within the page, either within the main content, or another comment. The
relationship of comments to other content should must be exposed.</p>
<p>When the comment is a reply to another comment:</p>
<ul>
<li>If possible, the reply comment SHOULD be a semantic descendant of the comment it relates to, either as a DOM descendant element, or via <pref>aria-owns</pref>. In this case, user agents MUST automatically compute the level and expose it to assistive technologies.</li>
<li>Alternatively, when the parent comment is not rendered in the page, such as when comments are paginated, the hierarchical
level MAY be indicated via <pref>aria-level</pref>.</li>
</ul>
<p>When the comment refers to other content within the page, the source content SHOULD use <pref>aria-details</pref> to point to the related comment.</p>
</div>
<table class="role-features">
<caption>Characteristics:</caption>
<thead>
<tr>
<th scope="col">Characteristic</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<th class="role-abstract-head" scope="row">Is Abstract:</th>
<td class="role-abstract"> </td>
</tr>
<tr>
<th class="role-parent-head" scope="row">Superclass Role:</th>
<td class="role-parent"><rref>section</rref></td>
</tr>
<tr>
<th class="role-base-head" scope="row">Base Concept:</th>
<td class="role-base"> </td>
</tr>
<tr>
<th class="role-related-head" scope="row">Related Concepts:</th>
<td class="role-related"> </td>
</tr>
<tr>
<th class="role-scope-head" scope="row">Required Context Role:</th>
<td class="role-scope"> </td>
</tr>
<tr>
<th class="role-mustcontain-head" scope="row">Required Owned Elements:</th>
<td class="role-mustcontain">
</td>
</tr>
<tr>
<th class="role-required-properties-head">Required States and Properties:</th>
<td class="role-required-properties"> </td>
</tr>
<tr>
<th class="role-properties-head" scope="row">Supported States and Properties:</th>
<td class="role-properties"> </td>
</tr>
<tr>
<th class="role-inherited-head" scope="row">Inherited States and Properties:</th>
<td class="role-inherited">Placeholder</td>
</tr>
<tr>
<th class="role-disallowed-head" scope="row">Prohibited States and Properties:</th>
<td class="role-disallowed">
<ul>
<li><pref>aria-label</pref></li>
<li><pref>aria-labelledby</pref></li>
</ul>
</td>
</tr>
<tr>
<th class="role-namefrom-head" scope="row">Name From:</th>
<td class="role-namefrom">prohibited</td>
</tr>
<tr>
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>
<td class="role-namerequired"> </td>
</tr>
<tr>
<th class="role-namerequired-inherited-head" scope="row">Inherits Name Required:</th>
<td class="role-namerequired-inherited"> </td>
</tr>
<tr>
<th class="role-childpresentational-head" scope="row">Children Presentational:</th>
<td class="role-childpresentational"> </td>
</tr>
<tr>
<th class="role-presentational-inherited-head" scope="row">Inherits Presentational:</th>
<td class="role-presentational-inherited"> </td>
</tr>
</tbody>
</table>
</div>
<div class="role" id="complementary">
<rdef>complementary</rdef>
<div class="role-description">
Expand Down

0 comments on commit d20851c

Please sign in to comment.