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-magnifierreadable-fontdyslexia-fonthighlight-titleshighlight-linksalign-leftalign-centeralign-rightdark-contrastlight-contrastmonochromehigh-saturationhigh-contrastlow-saturationmute-soundshide-imageshide-emojivirtual-keyboardreading-guidestop-animationsreading-maskhighlight-hoverhighlight-focusbig-black-cursorbig-white-cursorcognitive-readingtext-to-speechkeyboard-navigation
Accessibility Profiles
These enable predefined configurations for specific user needs:
profile-epilepsyprofile-visually-impairedprofile-cognitive-disabilityprofile-adhd-friendlyprofile-blind-users
Profile Aliases (equivalent):
epilepsyvisually-impairedcognitive-disabilityadhd-friendlyblind-users
Non-Persistent Actions
These actions do not save state and perform immediate actions:
voice-navigationresetreset-reloadhide-forever

