Skip to content

Commit 56c2586

Browse files
committed
move core-aam PR232
2 parents 2b1fa67 + 014b11e commit 56c2586

File tree

1 file changed

+112
-0
lines changed

1 file changed

+112
-0
lines changed

core-aam/index.html

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11055,6 +11055,118 @@ <h3>Special Events for Menus</h3>
1105511055
</table>
1105611056
</section>
1105711057
</section>
11058+
<section id="mapping_algorithms">
11059+
<h2>Algorithms</h2>
11060+
<p>Some <abbr title="Application Programming Interfaces">APIs</abbr>, provide <a class="termref">methods</a> which require...</p>
11061+
<h3>ARIANotifyMixin Algorithm Mapping Tables</h3>
11062+
<h4 id="arianotifymixin-map-arianotify">ariaNotify</h4>
11063+
<p>To <code>aria notify</code> given <var>node</var>, <var>announcement</var>, <var>priority</var>, <var>interrupt</var>, and <var>id</var>:</p>
11064+
<table aria-labelledby="arianotifymixin-map-arianotify">
11065+
<tbody>
11066+
<tr>
11067+
<th>ARIA Specification</th>
11068+
<td>
11069+
<a class="method-reference" href="#arianotify"><code>aria notify</code></a>
11070+
</td>
11071+
</tr>
11072+
<tr>
11073+
<th>MSAA + IAccessible2</th>
11074+
<td></td>
11075+
</tr>
11076+
<tr>
11077+
<th><abbr title="User Interface Automation">UIA</abbr></th>
11078+
<td>
11079+
<ol>
11080+
<li>
11081+
<p>Let <var>notificationProcessing</var> be <code>null</code>.</p>
11082+
</li>
11083+
<li>
11084+
<p>
11085+
If <var>interrupt</var> is "<code>none</code>" and <var>priority</var> is "<code>none</code>" set <var>notificationProcessing</var> to <code>NotificationProcessing_All</code>.
11086+
</p>
11087+
</li>
11088+
<li>
11089+
<p>
11090+
If <var>interrupt</var> is "<code>none</code>" and <var>priority</var> is "<code>important</code>" set <var>notificationProcessing</var> to
11091+
<code>NotificationProcessing_ImportantAll</code>.
11092+
</p>
11093+
</li>
11094+
<li>
11095+
<p>
11096+
If <var>interrupt</var> is "<code>all</code>" and <var>priority</var> is "<code>none</code>" set <var>notificationProcessing</var> to
11097+
<code>NotificationProcessing_MostRecent</code>.
11098+
</p>
11099+
</li>
11100+
<li>
11101+
<p>
11102+
If <var>interrupt</var> is "<code>all</code>" and <var>priority</var> is "<code>important</code>" set <var>notificationProcessing</var> to
11103+
<code>NotificationProcessing_ImportantMostRecent</code>.
11104+
</p>
11105+
</li>
11106+
<li>
11107+
<p>
11108+
If <var>interrupt</var> is "<code>pending</code>" and <var>priority</var> is "<code>none</code>" set <var>notificationProcessing</var> to
11109+
<code>NotificationProcessing_CurrentThenMostRecent</code>.
11110+
</p>
11111+
</li>
11112+
<li>
11113+
<p>
11114+
If <var>interrupt</var> is "<code>pending</code>" and <var>priority</var> is "<code>important</code>" set <var>notificationProcessing</var> to
11115+
<code>NotificationProcessing_ImportantMostRecent</code>.
11116+
</p>
11117+
</li>
11118+
<li>
11119+
<p>Assert: <var>notificationProcessing</var> is not <code>null</code>.</p>
11120+
</li>
11121+
<li>
11122+
<p>
11123+
Call <code>UiaRaiseNotificationEvent</code> with given <var>node</var>, <code>NotificationKind_ActionCompleted</code>, <var>notificationProcessing</var>, <var>announcement</var>,
11124+
and <var>id</var>.
11125+
</p>
11126+
</li>
11127+
</ol>
11128+
</td>
11129+
</tr>
11130+
<tr>
11131+
<th><abbr title="Accessibility Toolkit">ATK</abbr>/<abbr title="Assistive Technology - Service Provider Interface">AT-SPI</abbr></th>
11132+
<td>
11133+
<ol>
11134+
<!-- TODO! -->
11135+
</ol>
11136+
</td>
11137+
</tr>
11138+
<tr>
11139+
<th><abbr title="macOS Accessibility Protocol">AX API</abbr></th>
11140+
<td>
11141+
<ol>
11142+
<li>
11143+
<p>Let <var>document</var> be <var>node</var>'s associated document.</p>
11144+
</li>
11145+
<li>
11146+
<p>Let <var>window</var> be <var>document</var>'s associated window.</p>
11147+
</li>
11148+
<li>
11149+
<p>Let <var>notification</var> be <code>NSAccessibilityAnnouncementRequestedNotification</code>.</p>
11150+
</li>
11151+
<li>
11152+
<p>Let <var>mapped_priority</var> be <code>NSAccessibilityPriorityHigh</code> if <var>priority</var> is "important", otherwise <code>NSAccessibilityPriorityMedium</code>.</p>
11153+
</li>
11154+
<li>
11155+
<p>Let <var>userInfo</var> be a <code>NSDictionary</code> with the following keys:</p>
11156+
<ol>
11157+
<li><code>NSAccessibilityAnnouncementKey</code> as <var>announcement</var></li>
11158+
<li><code>NSAccessibilityPriorityKey</code> as <var>mapped_priority</var></li>
11159+
</ol>
11160+
</li>
11161+
<li>
11162+
<p>Call <code>NSAccessibilityPostNotificationWithUserInfo</code> with given <var>window</var>, <var>notification</var>, and <var>userInfo</var>.</p>
11163+
</li>
11164+
</ol>
11165+
</td>
11166+
</tr>
11167+
</tbody>
11168+
</table>
11169+
</section>
1105811170
</section>
1105911171

1106011172
<section>

0 commit comments

Comments
 (0)