Skip to content

Commit 105b6fc

Browse files
authored
Clarify mappings for contenteditable (#463)
1 parent 3c6988f commit 105b6fc

File tree

1 file changed

+24
-7
lines changed

1 file changed

+24
-7
lines changed

index.html

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3646,39 +3646,56 @@

HTML Attribute State and Property Mappings

36463646
<td class="elements">
36473647
<a data-cite="html/interaction.html#attr-contenteditable">HTML elementsa>
36483648
td>
3649-
<td class="aria">?td>
3649+
<td class="aria">
3650+
Not mapped
3652+
td>
36503653
<td class="ia2">
3654+
<p>If the element is in the editable state, the following mappings apply to the element and every nested accessible object with the
3655+
exception of those which have been specified in the `false` state.p>
36513656
<div class="states">
36523657
<span class="type">States:span>
3653-
`IA2_STATE_EDITABLE` on this and every nested text accessible object
3658+
`IA2_STATE_EDITABLE` and `IA2_STATE_MULTI_LINE`
36543659
div>
36553660
<div class="interfaces">
36563661
<span class="type">Interfaces:span>
3657-
`IAccessibleEditableText` on this and every nested text accessible object
3662+
`IAccessibleEditableText`
36583663
div>
3664+
<p>If the element is in the `false` state: not mapped.p>
3665+
<p>If the element is in the `inherit` state: match the editable state of its parent element.p>
36593666
td>
36603667
<td class="uia">
3668+
<p>If the element is in the editable state, the following mappings apply to the element and every nested accessible object with the
3669+
exception of those which have been specified in the `false` state.p>
36613670
<div class="ctrltype">
36623671
<span class="type">Control Pattern:span> `TextEdit`
36633672
div>
3673+
<div class="property">
3674+
<span class="type">Property:span> `AriaProperties.multiline:true`
3675+
div>
3676+
<p>If the element is in the `false` state: not mapped.p>
3677+
<p>If the element is in the `inherit` state: match the editable state of its parent element.p>
36643678
td>
36653679
<td class="atk">
3680+
<p>If the element is in the editable state, the following mappings apply to the element and every nested accessible object with the
3681+
exception of those which have been specified in the `false` state.p>
36663682
<div class="states">
36673683
<span class="type">States:span>
3668-
`ATK_STATE_EDITABLE` on this and every nested text accessible object.
3684+
`ATK_STATE_EDITABLE` and `ATK_STATE_MULTI_LINE`
36693685
div>
36703686
<div class="interfaces">
3671-
<span class="type">Interfaces:span>
3672-
`AtkEditableText` on this and every nested text accessible object.
3687+
<span class="type">Interfaces:span> `AtkEditableText`
36733688
div>
3689+
<p>If the element is in the `false` state: not mapped.p>
3690+
<p>If the element is in the `inherit` state: match the editable state of its parent element.p>
36743691
td>
36753692
<td class="ax">
36763693
<span class="type">Role:span>
36773694
<a href="#el-textarea">AXTextAreaa>
36783695
<div class="general">Use WAI-ARIA mappingdiv>
36793696
td>
36803697
<td class="comments">
3681-
If the element has the `contenteditable` attribute and `aria-readonly="true"`, User Agents MUST expose only the `contenteditable` state.
3698+
If the element is set to `contenteditable` and `aria-readonly="true"`, User Agents MUST expose only the `contenteditable` state.
36823699
td>
36833700
tr>
36843701
<tr tabindex="-1" id="att-controls">

0 commit comments

Comments
 (0)