Skip to content

Commit

Permalink
add obsolete dir element
Browse files Browse the repository at this point in the history
the dir element is semantically equivalent to the UL element, and thus it should also map to role=list.

As browsers have recently updated the rendering of this element to have visual consistency with the UL element / across browsers, then too, the mappings should update to match what is spec'd in HTML.
  • Loading branch information
scottaohara authored Mar 28, 2024
1 parent e644368 commit d240951
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1980,6 +1980,58 @@ <h4 id=el-dialog>`dialog`</h4>
</tr>
</tbody>
</table>
<h4 id="el-dir">`dir`</h4>
<table aria-labelledby="el-dir">
<tbody>
<tr>
<th>HTML Specification</th>
<td>
<a data-cite="HTML">`dir`</a>
</td>
</tr>
<tr>
<th>[[wai-aria-1.2]]</th>
<td>
<a class="core-mapping" href="#role-map-list">`list`</a> role
</td>
</tr>
<tr>
<th><a data-cite="core-aam-1.2/#roleMappingComputedRole">Computed Role</a></th>
<td class="role-computed"><div class="general">Use WAI-ARIA mapping</div></td>
</tr>
<tr>
<th><a href="https://msdn.microsoft.com/en-us/library/dd373608%28v=VS.85%29.aspx">MSAA</a> + <a href="http://accessibility.linuxfoundation.org/a11yspecs/ia2/docs/html/">IAccessible2</a></th>
<td>
<div class="general">Use WAI-ARIA mapping</div>
</td>
</tr>
<tr>
<th><a href="https://msdn.microsoft.com/en-us/library/ms726297%28v=VS.85%29.aspx">UIA</a></th>
<td>
<div class="general">Use WAI-ARIA mapping</div>
</td>
</tr>
<tr>
<th><a href="https://gnome.pages.gitlab.gnome.org/atk/">ATK</a></th>
<td>
<div class="general">Use WAI-ARIA mapping</div>
</td>
</tr>
<tr>
<th><a href="https://developer.apple.com/reference/appkit/nsaccessibility">AX</a></th>
<td>
<div class="general">Use WAI-ARIA mapping</div>
</td>
</tr>
<!-- <th><a href="#accessible-name-and-description-computation">Naming Algorithm</a></th> -->
<tr>
<th>Comments</th>
<td>
The `dir` element is marked as obsolete in HTML, and is not to be used by authors.
</td>
</tr>
</tbody>
</table>
<h4 id=el-div>`div`</h4>
<table aria-labelledby=el-div>
<tbody>
Expand Down

0 comments on commit d240951

Please sign in to comment.