Skip to content

Commit

Permalink
move core-aam PR232
Browse files Browse the repository at this point in the history
  • Loading branch information
pkra committed Jun 12, 2024
2 parents 2b1fa67 + 014b11e commit 56c2586
Showing 1 changed file with 112 additions and 0 deletions.
112 changes: 112 additions & 0 deletions core-aam/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11055,6 +11055,118 @@ <h3>Special Events for Menus</h3>
</table>
</section>
</section>
<section id="mapping_algorithms">
<h2>Algorithms</h2>
<p>Some <abbr title="Application Programming Interfaces">APIs</abbr>, provide <a class="termref">methods</a> which require...</p>
<h3>ARIANotifyMixin Algorithm Mapping Tables</h3>
<h4 id="arianotifymixin-map-arianotify">ariaNotify</h4>
<p>To <code>aria notify</code> given <var>node</var>, <var>announcement</var>, <var>priority</var>, <var>interrupt</var>, and <var>id</var>:</p>
<table aria-labelledby="arianotifymixin-map-arianotify">
<tbody>
<tr>
<th>ARIA Specification</th>
<td>
<a class="method-reference" href="#arianotify"><code>aria notify</code></a>
</td>
</tr>
<tr>
<th>MSAA + IAccessible2</th>
<td></td>
</tr>
<tr>
<th><abbr title="User Interface Automation">UIA</abbr></th>
<td>
<ol>
<li>
<p>Let <var>notificationProcessing</var> be <code>null</code>.</p>
</li>
<li>
<p>
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>.
</p>
</li>
<li>
<p>
If <var>interrupt</var> is "<code>none</code>" and <var>priority</var> is "<code>important</code>" set <var>notificationProcessing</var> to
<code>NotificationProcessing_ImportantAll</code>.
</p>
</li>
<li>
<p>
If <var>interrupt</var> is "<code>all</code>" and <var>priority</var> is "<code>none</code>" set <var>notificationProcessing</var> to
<code>NotificationProcessing_MostRecent</code>.
</p>
</li>
<li>
<p>
If <var>interrupt</var> is "<code>all</code>" and <var>priority</var> is "<code>important</code>" set <var>notificationProcessing</var> to
<code>NotificationProcessing_ImportantMostRecent</code>.
</p>
</li>
<li>
<p>
If <var>interrupt</var> is "<code>pending</code>" and <var>priority</var> is "<code>none</code>" set <var>notificationProcessing</var> to
<code>NotificationProcessing_CurrentThenMostRecent</code>.
</p>
</li>
<li>
<p>
If <var>interrupt</var> is "<code>pending</code>" and <var>priority</var> is "<code>important</code>" set <var>notificationProcessing</var> to
<code>NotificationProcessing_ImportantMostRecent</code>.
</p>
</li>
<li>
<p>Assert: <var>notificationProcessing</var> is not <code>null</code>.</p>
</li>
<li>
<p>
Call <code>UiaRaiseNotificationEvent</code> with given <var>node</var>, <code>NotificationKind_ActionCompleted</code>, <var>notificationProcessing</var>, <var>announcement</var>,
and <var>id</var>.
</p>
</li>
</ol>
</td>
</tr>
<tr>
<th><abbr title="Accessibility Toolkit">ATK</abbr>/<abbr title="Assistive Technology - Service Provider Interface">AT-SPI</abbr></th>
<td>
<ol>
<!-- TODO! -->
</ol>
</td>
</tr>
<tr>
<th><abbr title="macOS Accessibility Protocol">AX API</abbr></th>
<td>
<ol>
<li>
<p>Let <var>document</var> be <var>node</var>'s associated document.</p>
</li>
<li>
<p>Let <var>window</var> be <var>document</var>'s associated window.</p>
</li>
<li>
<p>Let <var>notification</var> be <code>NSAccessibilityAnnouncementRequestedNotification</code>.</p>
</li>
<li>
<p>Let <var>mapped_priority</var> be <code>NSAccessibilityPriorityHigh</code> if <var>priority</var> is "important", otherwise <code>NSAccessibilityPriorityMedium</code>.</p>
</li>
<li>
<p>Let <var>userInfo</var> be a <code>NSDictionary</code> with the following keys:</p>
<ol>
<li><code>NSAccessibilityAnnouncementKey</code> as <var>announcement</var></li>
<li><code>NSAccessibilityPriorityKey</code> as <var>mapped_priority</var></li>
</ol>
</li>
<li>
<p>Call <code>NSAccessibilityPostNotificationWithUserInfo</code> with given <var>window</var>, <var>notification</var>, and <var>userInfo</var>.</p>
</li>
</ol>
</td>
</tr>
</tbody>
</table>
</section>
</section>

<section>
Expand Down

0 comments on commit 56c2586

Please sign in to comment.