How to add a separate button to turn on/off the mode

In this article, we look at accessibility toggle button. The shortcode [readabler-toggle] allows you to place individual accessibility toggles anywhere on your site, giving users quick and easy access to specific modes or accessibility features without opening the full Readabler panel.

Shortcode Syntax (accessibility toggle button)

[readabler-toggle mode="desired-mode"]Button Text[/readabler-toggle]

Where:

  • mode – the accessibility mode or option to toggle. The list of all available value is provided below.
  • Inner text – label displayed on the button.

📌 Example:

[readabler-toggle mode="dark-contrast"]DARK CONTRAST[/readabler-toggle]

This creates a standalone button that toggles the Dark Contrast mode on and off.

Supported Modes and Options

You can use the following modes with the [readabler-toggle] shortcode:

Accessibility Features

  • text-magnifier
  • readable-font
  • dyslexia-font
  • highlight-titles
  • highlight-links
  • align-left
  • align-center
  • align-right
  • dark-contrast
  • light-contrast
  • monochrome
  • high-saturation
  • high-contrast
  • low-saturation
  • mute-sounds
  • hide-images
  • hide-emoji
  • virtual-keyboard
  • reading-guide
  • stop-animations
  • reading-mask
  • highlight-hover
  • highlight-focus
  • big-black-cursor
  • big-white-cursor
  • cognitive-reading
  • text-to-speech
  • keyboard-navigation

Accessibility Profiles

These enable predefined configurations for specific user needs:

  • profile-epilepsy
  • profile-visually-impaired
  • profile-cognitive-disability
  • profile-adhd-friendly
  • profile-blind-users

Profile Aliases (equivalent):

  • epilepsy
  • visually-impaired
  • cognitive-disability
  • adhd-friendly
  • blind-users

Non-Persistent Actions

These actions do not save state and perform immediate actions:

  • voice-navigation
  • reset
  • reset-reload
  • hide-forever

Was this article helpful to you?