Accessibility WebTV
Alternate input methods​
Enable/disable alternate input methods with the following variables in the instantiation configuration:
remoteActive
: remote is activated, default: truegamepadActive
: gamepad is activated, default: true
const props = {
settingsUrl: "<settings URL>",
languageCode: "en-US",
onDivaBoAdapterError: console.error,
config: config,
remoteActive: true,
gamepadActive: false
}
export const App = () => {
return <DivaWebTvBoAdapter { ...props } />;
};
Users can choose to use alternative devices other than the default platform remote control, check the Alternate input methods
On-screen navigational movement follows the order in which the UI elements display on the screen, check the Tab navigation order.
Shortcuts​
Find details on keyboard and gamepad navigation in our Accessibility article (open Web TV accordion and look for the Shortcuts paragraph).
Badges​
Find details on badges — available from version 5.2 onward — in our Accessibility article (open Web TV accordion and look for the Badges paragraph).
Use video list endpoint parameters ccBadge
and adBadge
to display/add closed captions and audio description badges.
You can find a sample endpoint response inside Video List documentation or Recommendations.
If parameter is present and set as true
, the badge will be displayed, otherwise badge is hidden.
Screen opacity​
Find details on screen opacity in our Accessibility article (open Web TV accordion and look for the Screen opacity paragraph).
Use opaqueBackground
to improve readability and contrast:
Property | Description | Type | default |
---|---|---|---|
opaqueBackground | starting value for disable transparency on menu | boolean | false |
const props = {
settingsUrl: "<settings URL>",
languageCode: "en-US",
onDivaBoAdapterError: console.error,
config: config,
//...
accessibility: {
opaqueBackground: false
}
}
export const App = () => {
return <DivaWebTvBoAdapter { ...props } />;
};