Disable Accessibility Features
Accessibility Features are enabled by default, but you can remove a specific feature or the Accessibility Features button.
Removing a Specific Accessibility Features
To disable a specific feature, use the addonsMap parameter, setting the desired feature to false.
Example of deactivating a specific Accessibility Features
<body>
<!-- Import the latest version of the Hand Talk plugin -->
<script src="https://plugin.handtalk.me/web/latest/handtalk.min.js"></script>
<script>
var ht = new HT({
// Exchange it for your access token
token: "TOKEN",
// Object responsible for grouping Accessibility Features
addonsMap: {
// Disables features of the source control section individually
fontControl: {
fontSize: false,
textStyle: false,
highlightLetters: false,
letterSpacing: false,
lineHeight: false,
},
// Disables features of the navigation section individually
navigation: {
pageSpeech: false,
readerMode: false,
readingMask: false,
magnifier: false,
pageStructure: false,
hideImages: false,
highlightHeadings: false,
highlightLinks: false,
readingGuide: false,
pauseAnimations: false,
},
// Disables features of the color control section individually
colorControl: {
contrastMode: false,
saturationMode: false,
pageColors: false
}
}
});
</script>
</body>
tip
If all Accessibility Features are set to false in the addonsMap parameter, the button to access these features will be hidden.
Remove the Accessibility Features button
To completely remove the Accessibility Features button, simply set the addonsEnabled parameter to false.
Example of disabling the website translator on mobile
<body>
<!-- Import the latest version of the Hand Talk plugin -->
<script src="https://plugin.handtalk.me/web/latest/handtalk.min.js"></script>
<script>
var ht = new HT({
// Exchange it for your access token
token: "TOKEN",
// Hides the Accessibility Features button
addonsEnabled: false
});
</script>
</body>