Skip to content

Commit

Permalink
switch attribute for checkbox inputs
Browse files Browse the repository at this point in the history
closes #496 if this feature goes through.
  • Loading branch information
scottaohara authored Oct 17, 2023
1 parent d21836c commit 8a1aa56
Showing 1 changed file with 107 additions and 1 deletion.
108 changes: 107 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3157,6 +3157,58 @@ <h4 id=el-input-checkbox>`input` <span class="el-context">(`type` attribute in t
</tr>
</tbody>
</table>
<h4 id=el-input-checkbox-switch>`input` <span class="el-context">(`type` attribute in the Checkbox state)</span> with the <code>switch</code> attribute</h4>
<table aria-labelledby=el-input-checkbox-switch>
<tbody>
<tr>
<th>HTML Specification</th>
<td>
<a data-cite="html">`input`</a>
<span class="el-context">(<a data-cite="html/input.html#attr-input-type">`type`</a> attribute in the
<a data-cite="html/input.html#checkbox-state-(type=checkbox)">Checkbox</a> state)</span> with the
<a data-cite="html/input.html#attr-input-switch">`switch`</a> attribute
</td>
</tr>
<tr>
<th>[[wai-aria-1.2]]</th>
<td>
<a class="core-mapping" href="#role-map-checkbox">`switch`</a> role, with the
<a class="core-mapping" href="#ariaCheckedMixed">`aria-checked`</a> state set to "true" if the element's
<a data-cite="html/form-control-infrastructure.html#concept-fe-checked">checkedness</a> is true, or "false" otherwise
</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>
</td>
</tr>
</tbody>
</table>
<h4 id=el-input-color>`input` <span class="el-context">(`type` attribute in theColor state)</span></h4>
<table aria-labelledby=el-input-color>
<tbody>
Expand Down Expand Up @@ -14979,7 +15031,61 @@ <h4 id=att-step>`step`</h4>
</tr>
</tbody>
</table>
<h4 id=att-style>`style`</h4>
<h4 id=att-switch>`switch`</h4>
<table aria-labelledby=att-switch>
<tbody>
<tr>
<th>HTML Specification</th>
<td>
`switch`
</td>
</tr>
<tr>
<th>Element(s)</th>
<td>
<a data-cite="html/input.html#attr-input-checked">`input`</a> `type=checkbox`
</td>
</tr>
<tr>
<th>[[WAI-ARIA-1.2]]</th>
<td>
<div class="general">Not mapped</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">Not mapped</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">Not mapped</div>
</td>
</tr>
<tr>
<th><a href="https://gnome.pages.gitlab.gnome.org/atk/">ATK</a></th>
<td>
<div class="general">Not mapped</div>
</td>
</tr>
<tr>
<th><a href="https://developer.apple.com/reference/appkit/nsaccessibility">AX</a></th>
<td>
<div class="general">Not mapped</div>
</td>
</tr>
<tr>
<th>Comments</th>
<td>
The `switch` attribute modifies the semantics and behavior of the `input` element in the checkbox state.
See <a href="#el-input-checkbox-switch">`input type=checkbox switch`</a> for mapping details.
</td>
</tr>
</tbody>
</table>
<h4 id=att-switch>`style`</h4>
<table aria-labelledby=att-style>
<tbody>
<tr>
Expand Down

0 comments on commit 8a1aa56

Please sign in to comment.