Accessibility Actions

Table of contents

  1. Set Auto Answer Calls
  2. Set Background Sound
  3. Set Background Sound Volume
  4. Set Background Sounds
  5. Set Media Background Sounds
  6. Set Switch Control
  7. Toggle Auto Answer Calls
  8. Toggle Background Sounds
  9. Toggle Media Background Sounds
  10. Toggle Switch Control
  11. Hearing
    1. Set Closed Captions SDH
    2. Set LED Flash
    3. Set Left-Right Balance
    4. Set Live Captions
    5. Set Mono Audio
    6. Set Sound Recognition
    7. Toggle Closed Captions SDH
    8. Toggle LED Flash
    9. Toggle Left-Right Balance
    10. Toggle Live Captions
    11. Toggle Mono Audio
  12. Vision
    1. Set Classic Invert
    2. Set Color Filters
    3. Set Reduce Motion
    4. Set Reduce Transparency
    5. Set Smart Invert
    6. Set Text Size
    7. Set Voice Control
    8. Set White Point
    9. Set Zoom
    10. Toggle Classic Invert
    11. Toggle Color Filters
    12. Toggle Reduce Motion
    13. Toggle Reduce Transparency
    14. Toggle Smart Invert
    15. Toggle Voice Control
    16. Toggle White Point
    17. Toggle Zoom

To use actions in this category, use this include statement:

#include 'actions/a11y'

Set Auto Answer Calls

setAutoAnswerCalls(bool status)

Set Background Sound

Set the background sound that plays.

enum backgroundSound {
    'BalancedNoise',
    'BrightNoise',
    'DarkNoise',
    'Ocean',
    'Rain',
    'Stream',
}

setBackgroundSound(backgroundSound ?sound = "BalancedNoise")

Set Background Sound Volume

setBackgroundSoundsVolume(float volume)

Set Background Sounds

setBackgroundSounds(bool status)

Set Media Background Sounds

setMediaBackgroundSounds(bool status)

Set Switch Control

setSwitchControl(bool status)

Toggle Auto Answer Calls

toggleAutoAnswerCalls()

Toggle Background Sounds

toggleBackgroundSounds()

Toggle Media Background Sounds

toggleMediaBackgroundSounds()

Toggle Switch Control

toggleSwitchControl()

Hearing

Set Closed Captions SDH

setClosedCaptionsSDH(bool status)

Set LED Flash

setLEDFlash(bool status)

Set Left-Right Balance

setLeftRightBalance(bool status, number ?value)

Set Live Captions

setLiveCaptions(bool status)

Set Mono Audio

setMonoAudio(bool status)

Set Sound Recognition

enum soundRecognitionOperations {
    'pause',
    'activate',
    'toggle',
}

setSoundRecognition(soundRecognitionOperations ?operation = "activate")

Toggle Closed Captions SDH

toggleClosedCaptionsSDH()

Toggle LED Flash

toggleLEDFlash()

Toggle Left-Right Balance

toggleLeftRightBalance(number ?value)

Toggle Live Captions

toggleLiveCaptions()

Toggle Mono Audio

toggleMonoAudio()

Vision

Set Classic Invert

setClassicInvert(bool status)

Set Color Filters

setColorFilters(bool status)

Set Reduce Motion

setReduceMotion(bool status)

Set Reduce Transparency

setReduceTransparency(bool status)

Set Smart Invert

setSmartInvert(bool status)

Set Text Size

Sets the system text size.

enum textSizes {
    'Accessibility Extra Extra Extra Large',
    'Accessibility Extra Extra Large',
    'Accessibility Extra Large',
    'Accessibility Large',
    'Accessibility Medium',
    'Extra Extra Extra Large',
    'Extra Extra Large',
    'Extra Large',
    'Default',
    'Medium',
    'Small',
    'Extra Small',
}

setTextSize(textSizes size)

Set Voice Control

setVoiceControl(bool status)

Set White Point

setWhitePoint(bool status)

Set Zoom

setZoom(bool status)

Toggle Classic Invert

toggleClassicInvert()

Toggle Color Filters

toggleColorFilters()

Toggle Reduce Motion

toggleReduceMotion()

Toggle Reduce Transparency

toggleReduceTransparency()

Toggle Smart Invert

toggleSmartInvert()

Toggle Voice Control

toggleVoiceControl()

Toggle White Point

toggleWhitePoint()

Toggle Zoom

toggleZoom()

Copyright ©. Distributed under the GPL-2.0 License. Siri Shortcuts and Mac are registered trademarks of Apple Inc. Apple is not involved in this project in any way. Do not contact Apple Support unless you are having an issue with the Shortcuts app itself.