Accessibility/WebAccessibilityAPI: Difference between revisions

Line 224: Line 224:


Performs the given accessible action on the accessible element.
Performs the given accessible action on the accessible element.


====Action list====
====Action list====
Line 244: Line 245:
</code>
</code>


=====ScrollDelta=====
=====ScrollDelta param=====


<pre>
<pre>
Line 307: Line 308:




Here's a script announcing available actions on the accessible element.
Here's an example of script announcing available actions on the accessible element.
<pre>
<pre>
var set = accElm.actions;
var set = accElm.actions;
Line 328: Line 329:
<code>
<code>
AccessibleElement .''interactions''
AccessibleElement .''interactions''
::Return an ''Interactions'' object describing all interactions that can be performed on the accessible element.
::Return an ''InteractionSet'' object describing all interactions that can be performed on the accessible element.
</code>
</code>


<pre>
<pre>
interface Interactions {
interface InteractionSet {
  readonly setlike<Interaction>;
 
  boolean hasAnyOf<DOMString or Interaction>
   boolean has(DOMString interaction);
   boolean has(DOMString interaction);
   readonly attribute sequence<DOMString>? allOf(DOMString action, optional DOMString device);
   readonly attribute sequence<DOMString>? allOf(DOMString action, optional DOMString device);
Confirmed users
1,396

edits