About Contrast Adjustment
The use of color is one of the main accessibility concerns, as not everyone perceives color in the same way. The contrast adjustment allows the user to toggle the Hand Talk Plugin between dark mode and light mode in the main menu.
Setting the Contrast
By default, the Hand Talk Plugin starts with light mode enabled. If you want the Hand Talk Plugin to start with dark mode enabled, just follow the step-by-step instructions below:
Step 1 - Find the script that implements the Hand Talk Plugin on your website.
Step 2 - Now simply set the parameter highContrast with the value true. See below an example of the code with the parameter implemented:
<script src="https://plugin.handtalk.me/web/latest/handtalk.min.js"></script>
<script>
var ht = new HT({ token: "INSERT YOUR TOKEN HERE",
// to start the Hand Talk Plugin with dark mode enabled
highContrast: true
});
</script>
Step 3 - After this, the Hand Talk Plugin should appear on the screen as follows:
Comments
0 comments
Please sign in to leave a comment.