Skip to content

Commit

Permalink
Correct ATK mapping for input type="color"
Browse files Browse the repository at this point in the history
  * If implemented as a textbox, it should be mapped as a textbox
  * If implemented as a button, it should be mapped as a button

See github issue w3c#139.
  • Loading branch information
joanmarie committed Jan 31, 2019
1 parent 57033da commit fd3455d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1553,8 +1553,12 @@ <h3>HTML Element Role Mappings</h3>
<!-- <div class="ctrlpattern"><span class="type">Control Pattern: </span><code>Selection</code> for the container and <code>SelectionItem</code> for each color choice</div> -->
</td>
<td class="atk">
<div class="general">Implemented as a color picker:</div>
<div class="role"><span class="type">Role: </span><code>ATK_ROLE_COLOR_CHOOSER</code></div>
<div class="general">
If implemented as a button, use WAI-ARIA mapping for <a class="core-mapping" href="#role-map-button"><code>button</code></a>.
</div>
<div class="general">
If implemented as a textbox, use WAI-ARIA mapping for <a class="core-mapping" href="#role-map-textbox"><code>textbox</code></a>.
</div>
</td>
<td class="ax">
<div class="general">If implemented as a textbox:</div>
Expand Down

0 comments on commit fd3455d

Please sign in to comment.