Adds a sidebar widget to change text size in your WP site.
Always go back to the Widget settings after each version update to Save your settings.
Demo at https://demo.webgrrrl.net
- In your WordPress dashboard, select Plugins / Add.
- Search for Accessibility Widget, and select Install.
- Go to Appearances / Widgets.
- Drag the Accessibility Widget to your widget area and select Save.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
<?php do_action('widget_accesstxt'); ?>in your templates.
How do I use this plugin?
Follow the Installation instructions. Below are options you can set in the widget:-
Resize the following HTML/CSS tags:
Specify all the HTML or CSS tags you want to resize in this section. By default, the HTML tag body, p, li and td is set.
Different WordPress theme may have different and unique stylesheet classes and IDs. You can switch on your browser’s built-in Developer Tools and use the Inspect Element option to detect what HTML/CSS codes to use.
Set to these sizes:
This is where you set the font-size you want to enable for the users to use (read up on the CSS font-size property at W3Schools). The simplest font-size group you can use are smaller, inherit, larger. By default, the size are set as 90%, 100%, 110%, and 120%.
Set controller text:
By default, the widget displays the letter “T” depending on the number of font sizes you use; that is, if you set only two font-size, then only two letter T appears, and so forth. Starting with version 1.2, you can set it to use more meaningful words, like Small, Normal, Large for each size you specify. By default, the controller texts are set as 90%, 100%, 110%, and 120%.
Set tooltip text:
By default, the widget displays the letter “T” depending on the number of font sizes you use; that is, if you set only two font-size, then only two letter T appears, and so forth. Starting with version 1.2, you can set it to use more meaningful words, like Small, Normal, Large for each size you specify. By default, the tooltip texts are set as 90%, 100%, 110%, and 120%.
Can I use this on a non-widgetized website / theme?
Not tested, but theoretically yes, you can. Follow the Manual installation steps in the Installation section for details.
Contributors & Developers
“Accessibility Widget” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Updated widget to remove deprecated functions.
- Added a new function to display tooltip on mouse hover (HTML title tag).
- Modified default settings for font sizes and controllers.
- Debugged controller text to allow a single character/word or multiple character/word (but multiple characters MUST match the amount of font-size used).
- Added option to customise controller text, i.e. the words you click on to change the text size.
- Added HTML tags p, li and td options by default for first-time installation.
- Added options into the widget form for easy customisation.
- First release.