Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify mappings for contenteditable #463

Merged
merged 5 commits into from
May 19, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 24 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3662,39 +3662,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`
scottaohara marked this conversation as resolved.
Show resolved Hide resolved
</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