Skip to content

Commit 2e7aaca

Browse files
authored
Update aria-describedby and aria-description AXAPI (#142)
1 parent 3d1c6b1 commit 2e7aaca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ <h5>Accessible Names and Descriptions</h5>
267267
<p>For instance, in MSAA, all <a class="termref">accessible objects</a> support the <code>accName</code> property, which stores the object's <a class="termref" data-cite="accname-1.2#dfn-accessible-name">accessible name</a>. Where the object also supports having an <a class="termref" data-cite="accname-1.2#dfn-accessible-description">accessible description</a>, MSAA stores this property in the object's <code>accDescription</code> property.</p>
268268
<p>Software using ATK can read and write to an object's <code>accessible-name</code> and <code>accessible-description</code> properties. In turn, AT-SPI can query the values of those properties through its <code>atspi_accessible_get_name</code> and <code>atspi_accessible_get_description</code> functions.</p>
269269
<p>Automation elements in the UIA accessibility tree have a <code>Name</code> property. Where the object also supports having an <a class="termref" data-cite="accname-1.2#dfn-accessible-description">accessible description</a>, UIA stores this property in the object's <code>FullDescription</code> property.</p>
270-
<p>The approach to <a class="termref" data-cite="accname-1.2#dfn-accessible-name">accessible names</a> and <a class="termref" data-lt="accessible description" data-cite="accname-1.2#dfn-accessible-description">accessible descriptions</a> in AX API is somewhat different to the other platform APIs. <a class="termref" data-cite="accname-1.2#dfn-accessible-name">Accessible names</a> are exposed using the <code>AXTitle</code> property when the name is visually rendered, while the <code>AXDescription</code> property is used when the object's name is not rendered visually. An object's <a class="termref" data-cite="accname-1.2#dfn-accessible-description">accessible description</a>, where provided, should always be exposed in the <code>AXHelp</code> property.</p>
270+
<p>The approach to <a class="termref" data-cite="accname-1.2#dfn-accessible-name">accessible names</a> and <a class="termref" data-lt="accessible description" data-cite="accname-1.2#dfn-accessible-description">accessible descriptions</a> in AX API is somewhat different to the other platform APIs. <a class="termref" data-cite="accname-1.2#dfn-accessible-name">Accessible names</a> are exposed using the <code>AXTitle</code> property when the name is visually rendered, while the <code>AXDescription</code> property is used when the object's name is not rendered visually. An object's <a class="termref" data-cite="accname-1.2#dfn-accessible-description">accessible description</a>, where provided by <a class="state-reference" href="#aria-description"><code>aria-description</code></a> or <a class="state-reference" href="#aria-describedby"><code>aria-describedby</code></a>, should be exposed in the <code>accessibilityCustomContent</code> API. Otherwise, it should be exposed as <code>AXHelp</code>.</p>
271271
<p>For more detail, see the <a class="accname" href="">Accessible Name and Description Computation</a> specification.</p>
272272
</section>
273273
</section>
@@ -2598,8 +2598,8 @@ <h4>Not Mapped</h4>
25982598
<span class="seealso">See also: <a href="#mapping_additional_nd">Name Computation</a> and <a href="#mapping_additional_relations">Mapping Additional Relations</a></span>
25992599
</td>
26002600
<td class="attr-axapi">
2601-
<span class="property">Property: <code>AXHelp</code>: <code>&lt;value&gt;</code></span><br />
2602-
<span class="seealso">See also: <a href="#mapping_additional_nd">Name Computation</a></span>
2601+
<span class="api">In the accessibilityCustomContent API, expose as an <code>AXCustomContent</code> object with <code>{ label: "description" }</code> and `<code>value</code>` set to the description string.</span><br />
2602+
- <span class="seealso">See also: <a href="#mapping_additional_nd">Name Computation</a></span>
26032603
</td>
26042604
</tr>
26052605
<tr id="ariaDescription">
@@ -2617,8 +2617,8 @@ <h4>Not Mapped</h4>
26172617
<span class="seealso">See also: <a href="#mapping_additional_nd">Name Computation</a></span>
26182618
</td>
26192619
<td class="attr-axapi">
2620-
<span class="property">Property: <code>AXHelp</code>: <code>&lt;value&gt;</code></span><br />
2621-
<span class="seealso">See also: <a href="#mapping_additional_nd">Name Computation</a></span>
2620+
<span class="api">In the accessibilityCustomContent API, expose as an <code>AXCustomContent</code> object with <code>{ label: "description" }</code> and `<code>value</code>` set to the description string.</span><br />
2621+
<span class="seealso">See also: <a href="#mapping_additional_nd">Name Computation</a></span>
26222622
</td>
26232623
</tr>
26242624
<tr id="ariaDetails">

0 commit comments

Comments
 (0)