diff --git a/src/openrpc/accessibility.json b/src/openrpc/accessibility.json index c010a6146..1a977229c 100644 --- a/src/openrpc/accessibility.json +++ b/src/openrpc/accessibility.json @@ -55,7 +55,7 @@ "preferredLanguages": [ "eng", "spa" - ] + ] } } } @@ -114,6 +114,36 @@ } ] }, + { + "name": "highContrastMode", + "summary": "Get whether high-contrast UI mode is enabled on the device", + "params": [], + "tags": [ + { + "name": "capabilities", + "x-uses": [ + "xrn:firebolt:capability:accessibility:highcontrastmode" + ] + } + ], + "result": { + "name": "highContrastMode", + "summary": "Whether high-contrast mode is enabled", + "schema": { + "type": "boolean" + } + }, + "examples": [ + { + "name": "High-contrast mode is enabled", + "params": [], + "result": { + "name": "Default Result", + "value": true + } + } + ] + }, { "name": "voiceGuidance", "summary": "Get the user's preferred voice guidance settings", @@ -222,21 +252,23 @@ } } ] - } + } ], "components": { "schemas": { "AudioDescriptionSettings": { "title": "AudioDescriptionSettings", "type": "object", - "required": ["enabled"], + "required": [ + "enabled" + ], "properties": { "enabled": { "type": "boolean", "description": "Whether or not audio descriptions should be enabled by default" } } - } + } } } -} \ No newline at end of file +} diff --git a/src/sdks/core/sdk.config.json b/src/sdks/core/sdk.config.json index c682afc3b..412e6aa13 100644 --- a/src/sdks/core/sdk.config.json +++ b/src/sdks/core/sdk.config.json @@ -6,9 +6,10 @@ { "module": "Accessibility", "use": [ + "xrn:firebolt:capability:accessibility:audiodescriptions", "xrn:firebolt:capability:accessibility:closedcaptions", - "xrn:firebolt:capability:accessibility:voiceguidance", - "xrn:firebolt:capability:accessibility:audiodescriptions" + "xrn:firebolt:capability:accessibility:highcontrastmode", + "xrn:firebolt:capability:accessibility:voiceguidance" ] }, { @@ -76,7 +77,7 @@ { "module": "Internal", "use": [ - "xrn:firebolt:capability:lifecycle:initialize" + "xrn:firebolt:capability:lifecycle:initialize" ] }, { @@ -139,4 +140,4 @@ ] } ] -} \ No newline at end of file +}