Skip to content

Commit

Permalink
Clarify mappings for contenteditable (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottaohara authored May 19, 2023
1 parent 8925ce6 commit 4ca49e9
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions html-aam/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3646,39 +3646,56 @@ <h3>HTML Attribute State and Property Mappings</h3>
<td class="elements">
<a data-cite="html/interaction.html#attr-contenteditable">HTML elements</a>
</td>
<td class="aria">?</td>
<td class="aria">
<!--<p>If in the `true`, `false` or `inherit` state: -->Not mapped<!--</p>
<p>If in the `plaintext-only` state: see comments</p> -->
</td>
<td class="ia2">
<p>If the element is in the editable state, the following mappings apply to the element and every nested accessible object with the
exception of those which have been specified in the `false` state.</p>
<div class="states">
<span class="type">States:</span>
`IA2_STATE_EDITABLE` on this and every nested text accessible object
`IA2_STATE_EDITABLE` and `IA2_STATE_MULTI_LINE`
</div>
<div class="interfaces">
<span class="type">Interfaces:</span>
`IAccessibleEditableText` on this and every nested text accessible object
`IAccessibleEditableText`
</div>
<p>If the element is in the `false` state: not mapped.</p>
<p>If the element is in the `inherit` state: match the editable state of its parent element.</p>
</td>
<td class="uia">
<p>If the element is in the editable state, the following mappings apply to the element and every nested accessible object with the
exception of those which have been specified in the `false` state.</p>
<div class="ctrltype">
<span class="type">Control Pattern:</span> `TextEdit`
</div>
<div class="property">
<span class="type">Property:</span> `AriaProperties.multiline:true`
</div>
<p>If the element is in the `false` state: not mapped.</p>
<p>If the element is in the `inherit` state: match the editable state of its parent element.</p>
</td>
<td class="atk">
<p>If the element is in the editable state, the following mappings apply to the element and every nested accessible object with the
exception of those which have been specified in the `false` state.</p>
<div class="states">
<span class="type">States:</span>
`ATK_STATE_EDITABLE` on this and every nested text accessible object.
`ATK_STATE_EDITABLE` and `ATK_STATE_MULTI_LINE`
</div>
<div class="interfaces">
<span class="type">Interfaces:</span>
`AtkEditableText` on this and every nested text accessible object.
<span class="type">Interfaces:</span> `AtkEditableText`
</div>
<p>If the element is in the `false` state: not mapped.</p>
<p>If the element is in the `inherit` state: match the editable state of its parent element.</p>
</td>
<td class="ax">
<span class="type">Role:</span>
<a href="#el-textarea">AXTextArea</a>
<div class="general">Use WAI-ARIA mapping</div>
</td>
<td class="comments">
If the element has the `contenteditable` attribute and `aria-readonly="true"`, User Agents MUST expose only the `contenteditable` state.
If the element is set to `contenteditable` and `aria-readonly="true"`, User Agents MUST expose only the `contenteditable` state.
</td>
</tr>
<tr tabindex="-1" id="att-controls">
Expand Down

0 comments on commit 4ca49e9

Please sign in to comment.