Accessibilty Schema

Version 0.10.0

JSON-Schema

This document was generated from a JSON-Schema, and is intended to provide a human readable overview and examples of the methods contained in the module.

For the full schema, see the link below.

Schema
accessibilty.json

Table of Contents

Schemas

FontFamily

type FontFamily = string
Examples

FontSize

type FontSize = number
Examples

FontEdge

type FontEdge = string
Examples

Color

type Color = string
Examples

Opacity

type Opacity = number
Examples

HorizontalAlignment

type HorizontalAlignment = string
Examples

VerticalAlignment

type VerticalAlignment = string
Examples

ClosedCaptionsStyles

type ClosedCaptionsStyles = {
  fontFamily?: string
  fontSize?: number
  fontColor?: string
  fontEdge?: string
  fontEdgeColor?: string
  fontOpacity?: number
  backgroundColor?: string
  backgroundOpacity?: number
  textAlign?: string
  textAlignVertical?: string
}
Examples

Details

The default styles to use when displaying closed-captions


ClosedCaptionsSettings

type ClosedCaptionsSettings = {
  enabled: boolean               // Whether or not closed-captions should be enabled by default
  styles: ClosedCaptionsStyles   // The default styles to use when displaying closed-captions
}
Examples
{
  "enabled": true,
  "styles": {
    "fontFamily": "Monospace sans-serif",
    "fontSize": 1,
    "fontColor": "#ffffff",
    "fontEdge": "none",
    "fontEdgeColor": "#7F7F7F",
    "fontOpacity": 100,
    "backgroundColor": "#000000",
    "backgroundOpacity": 100,
    "textAlign": "center",
    "textAlignVertical": "middle"
  }
}

VoiceSpeed

type VoiceSpeed = number
Examples

VoiceGuidanceSettings

type VoiceGuidanceSettings = {
  enabled: boolean              // Whether or not voice guidance should be enabled by default
  speed: number                 // The speed at which voice guidance speech will be read back to the user
}
Examples
{
  "enabled": true,
  "speed": 2
}

Go To Top