Liking cljdoc? Tell your friends :D

chromex.ext.accessibility-private

clj
  • available since Chrome 36
  * available since Chrome 36
raw docstring

api-tableclj

source

darken-screenclj/smacro

(darken-screen enabled)

Darkens or undarkens the screen.

|enabled| - True to darken screen; false to undarken screen.

Darkens or undarkens the screen.

|enabled| - True to darken screen; false to undarken screen.
sourceraw docstring

darken-screen*cljs

(darken-screen* config enabled)
source

enable-chrome-vox-mouse-eventsclj/smacro

(enable-chrome-vox-mouse-events enabled)

Enables or disables mouse events in ChromeVox.

|enabled| - True if ChromeVox should receive mouse events.

Enables or disables mouse events in ChromeVox.

|enabled| - True if ChromeVox should receive mouse events.
sourceraw docstring

enable-chrome-vox-mouse-events*cljs

(enable-chrome-vox-mouse-events* config enabled)
source

forward-key-events-to-switch-accessclj/smacro

(forward-key-events-to-switch-access should-forward)

When enabled, forwards key events to the Switch Access extension

|should-forward| - ?

When enabled, forwards key events to the Switch Access extension

|should-forward| - ?
sourceraw docstring

forward-key-events-to-switch-access*cljs

(forward-key-events-to-switch-access* config should-forward)
source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

get-battery-descriptionclj/smacro

(get-battery-description)

Called to request battery status from Chrome OS system.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [battery-description] where:

|battery-description| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Called to request battery status from Chrome OS system.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [battery-description] where:

  |battery-description| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-battery-description*cljs

(get-battery-description* config)
source

on-accessibility-gesture*cljs

(on-accessibility-gesture* config channel & args)
source

on-announce-for-accessibility*cljs

(on-announce-for-accessibility* config channel & args)
source

on-introduce-chrome-vox*cljs

(on-introduce-chrome-vox* config channel & args)
source

on-select-to-speak-state-change-requested*cljs

(on-select-to-speak-state-change-requested* config channel & args)
source

on-select-to-speak-state-changedclj/smacro

(on-select-to-speak-state-changed state)

Called by the Select-to-Speak extension when Select-to-Speak has changed states, between selecting with the mouse, speaking, and inactive.

|state| - ?

Called by the Select-to-Speak extension when Select-to-Speak has changed states, between selecting with the mouse,
speaking, and inactive.

  |state| - ?
sourceraw docstring

on-select-to-speak-state-changed*cljs

(on-select-to-speak-state-changed* config state)
source

on-switch-access-command*cljs

(on-switch-access-command* config channel & args)
source

on-two-finger-touch-start*cljs

(on-two-finger-touch-start* config channel & args)
source

on-two-finger-touch-stop*cljs

(on-two-finger-touch-stop* config channel & args)
source

send-synthetic-key-eventclj/smacro

(send-synthetic-key-event key-event)

Sends a fabricated key event.

|key-event| - The event to send.

Sends a fabricated key event.

|key-event| - The event to send.
sourceraw docstring

send-synthetic-key-event*cljs

(send-synthetic-key-event* config key-event)
source

send-synthetic-mouse-eventclj/smacro

(send-synthetic-mouse-event mouse-event)

Sends a fabricated mouse event.

|mouse-event| - The event to send.

Sends a fabricated mouse event.

|mouse-event| - The event to send.
sourceraw docstring

send-synthetic-mouse-event*cljs

(send-synthetic-mouse-event* config mouse-event)
source

set-focus-ringsclj/smacro

(set-focus-rings focus-rings)

Sets the given accessibility focus rings for this extension.

|focus-rings| - Array of focus rings to draw.

Sets the given accessibility focus rings for this extension.

|focus-rings| - Array of focus rings to draw.
sourceraw docstring

set-focus-rings*cljs

(set-focus-rings* config focus-rings)
source

set-highlightsclj/smacro

(set-highlights rects color)

Sets the bounds of the accessibility highlight.

|rects| - Array of rectangles to draw the highlight around. |color| - CSS-style hex color string beginning with # like #FF9982 or #EEE.

Sets the bounds of the accessibility highlight.

|rects| - Array of rectangles to draw the highlight around.
|color| - CSS-style hex color string beginning with # like #FF9982 or #EEE.
sourceraw docstring

set-highlights*cljs

(set-highlights* config rects color)
source

set-keyboard-listenerclj/smacro

(set-keyboard-listener enabled capture)

Sets the calling extension as a listener of all keyboard events optionally allowing the calling extension to capture/swallow the key event via DOM apis. Returns false via callback when unable to set the listener.

|enabled| - True if the caller wants to listen to key events; false to stop listening to events. Note that there is only ever one extension listening to key events. |capture| - True if key events should be swallowed natively and not propagated if preventDefault() gets called by the extension's background page.

Sets the calling extension as a listener of all keyboard events optionally allowing the calling extension to
capture/swallow the key event via DOM apis. Returns false via callback when unable to set the listener.

  |enabled| - True if the caller wants to listen to key events; false to stop listening to events. Note that there is
              only ever one extension listening to key events.
  |capture| - True if key events should be swallowed natively and not propagated if preventDefault() gets called by the
              extension's background page.
sourceraw docstring

set-keyboard-listener*cljs

(set-keyboard-listener* config enabled capture)
source

set-native-accessibility-enabledclj/smacro

(set-native-accessibility-enabled enabled)

Enables or disables native accessibility support. Once disabled, it is up to the calling extension to provide accessibility for web contents.

|enabled| - True if native accessibility support should be enabled.

Enables or disables native accessibility support. Once disabled, it is up to the calling extension to provide accessibility
for web contents.

  |enabled| - True if native accessibility support should be enabled.
sourceraw docstring

set-native-accessibility-enabled*cljs

(set-native-accessibility-enabled* config enabled)
source

set-native-chrome-vox-arc-support-for-current-appclj/smacro

(set-native-chrome-vox-arc-support-for-current-app enabled)

Sets current ARC app to use native ARC support.

|enabled| - True for ChromeVox (native), false for TalkBack.

Sets current ARC app to use native ARC support.

|enabled| - True for ChromeVox (native), false for TalkBack.
sourceraw docstring

set-native-chrome-vox-arc-support-for-current-app*cljs

(set-native-chrome-vox-arc-support-for-current-app* config enabled)
source

set-switch-access-keysclj/smacro

(set-switch-access-keys key-codes)

Change the keyboard keys captured by Switch Access.

|key-codes| - The key codes for the keys that will be captured.

Change the keyboard keys captured by Switch Access.

|key-codes| - The key codes for the keys that will be captured.
sourceraw docstring

set-switch-access-keys*cljs

(set-switch-access-keys* config key-codes)
source

set-switch-access-menu-stateclj/smacro

(set-switch-access-menu-state show element-bounds item-count)

Shows or hides the Switch Access menu. If shown, it is at the indicated location.

|show| - If true, show the menu. If false, hide the menu. |element-bounds| - Position of an element, in global screen coordinates, to place the menu next to. |item-count| - The number of items that need to be shown in the menu.

Shows or hides the Switch Access menu. If shown, it is at the indicated location.

|show| - If true, show the menu. If false, hide the menu.
|element-bounds| - Position of an element, in global screen coordinates, to place the menu next to.
|item-count| - The number of items that need to be shown in the menu.
sourceraw docstring

set-switch-access-menu-state*cljs

(set-switch-access-menu-state* config show element-bounds item-count)
source

set-virtual-keyboard-visibleclj/smacro

(set-virtual-keyboard-visible is-visible)

Shows or hides the virtual keyboard.

|is-visible| - ?

Shows or hides the virtual keyboard.

|is-visible| - ?
sourceraw docstring

set-virtual-keyboard-visible*cljs

(set-virtual-keyboard-visible* config is-visible)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.accessibility-private namespace.

Taps all valid non-deprecated events in chromex.ext.accessibility-private namespace.
sourceraw docstring

tap-on-accessibility-gesture-eventsclj/smacro

(tap-on-accessibility-gesture-events channel & args)

Fired when an accessibility gesture is detected by the touch exploration controller.

Events will be put on the |channel| with signature [::on-accessibility-gesture [gesture]] where:

|gesture| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Fired when an accessibility gesture is detected by the touch exploration controller.

Events will be put on the |channel| with signature [::on-accessibility-gesture [gesture]] where:

  |gesture| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-announce-for-accessibility-eventsclj/smacro

(tap-on-announce-for-accessibility-events channel & args)

Called when an internal component within accessibility wants to force speech output for an accessibility extension. Do not use without approval from accessibility owners.

Events will be put on the |channel| with signature [::on-announce-for-accessibility [announce-text]] where:

|announce-text| - Text to be announced.

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Called when an internal component within accessibility wants to force speech output for an accessibility extension. Do not
use without approval from accessibility owners.

Events will be put on the |channel| with signature [::on-announce-for-accessibility [announce-text]] where:

  |announce-text| - Text to be announced.

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-introduce-chrome-vox-eventsclj/smacro

(tap-on-introduce-chrome-vox-events channel & args)

Fired whenever ChromeVox should output introduction.

Events will be put on the |channel| with signature [::on-introduce-chrome-vox []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Fired whenever ChromeVox should output introduction.

Events will be put on the |channel| with signature [::on-introduce-chrome-vox []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-select-to-speak-state-change-requested-eventsclj/smacro

(tap-on-select-to-speak-state-change-requested-events channel & args)

Called when Chrome OS wants to change the Select-to-Speak state, between selecting with the mouse, speaking, and inactive.

Events will be put on the |channel| with signature [::on-select-to-speak-state-change-requested []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Called when Chrome OS wants to change the Select-to-Speak state, between selecting with the mouse, speaking, and inactive.

Events will be put on the |channel| with signature [::on-select-to-speak-state-change-requested []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-switch-access-command-eventsclj/smacro

(tap-on-switch-access-command-events channel & args)

Called when Chrome OS has received a key event corresponding to a Switch Access command.

Events will be put on the |channel| with signature [::on-switch-access-command [command]] where:

|command| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Called when Chrome OS has received a key event corresponding to a Switch Access command.

Events will be put on the |channel| with signature [::on-switch-access-command [command]] where:

  |command| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-two-finger-touch-start-eventsclj/smacro

(tap-on-two-finger-touch-start-events channel & args)

Fired when we first detect two fingers are held down, which can be used to toggle spoken feedback on some touch-only devices.

Events will be put on the |channel| with signature [::on-two-finger-touch-start []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Fired when we first detect two fingers are held down, which can be used to toggle spoken feedback on some touch-only
devices.

Events will be put on the |channel| with signature [::on-two-finger-touch-start []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-two-finger-touch-stop-eventsclj/smacro

(tap-on-two-finger-touch-stop-events channel & args)

Fired when the user is no longer holding down two fingers (including releasing one, holding down three, or moving them).

Events will be put on the |channel| with signature [::on-two-finger-touch-stop []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Fired when the user is no longer holding down two fingers (including releasing one, holding down three, or moving them).

Events will be put on the |channel| with signature [::on-two-finger-touch-stop []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

toggle-dictationclj/smacro

(toggle-dictation)

Toggles dictation between active and inactive states.

Toggles dictation between active and inactive states.
sourceraw docstring

toggle-dictation*cljs

(toggle-dictation* config)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close