Accessibility Widget

外掛說明

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

安裝方式

Automatic installation

  1. In your WordPress dashboard, select Plugins / Add.
  2. Search for Accessibility Widget, and select Install.
  3. Go to Appearances / Widgets.
  4. Drag the Accessibility Widget to your widget area and select Save.

Manual installation

  1. Upload accessibilitywidget.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Place <?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.

使用者評論

2017 年 2 月 8 日
Hi Lorna Your plugin works perfectly on this site: http://www.team-insight.co.uk I put it in the footer as well as in the sidebar. Thanks Graham
閱讀全部 11 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Accessibility Widget〉的開發相關工作。

參與者

將〈Accessibility Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.1

  • Updated widget to remove deprecated functions.

2

  • Added a new function to display tooltip on mouse hover (HTML title tag).
  • Modified default settings for font sizes and controllers.

1.2.1

  • Debugged controller text to allow a single character/word or multiple character/word (but multiple characters MUST match the amount of font-size used).

1.2

  • Added option to customise controller text, i.e. the words you click on to change the text size.

1.1.1

  • Added HTML tags p, li and td options by default for first-time installation.

1.1

  • Added options into the widget form for easy customisation.

1.0

  • First release.