Linux 软件免费装
Banner图

UserPrefs Accessibility Widget

开发者 wandzilakwebdesign
更新时间 2026年11月30日 09:51
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

a11y accessibility text size contrast accessibility widget

下载

1.8.2 1.9.0 1.9.1

详情介绍:

UserPrefs is an accessibility preferences widget. It adds a small button to your pages; a visitor who opens it can change how your site looks to them: larger text, more contrast, more spacing, less motion, and reading aids. Their choices are saved in their own browser and apply on every page they visit. UserPrefs is a hosted service. The widget's JavaScript is served by Wandzilak Web Design from https://userprefs.wandzilakwebdesign.com. This plugin connects your site to that service when you ask it to, adds one script tag to your pages, and gives you a settings page; the widget itself runs from the service. See "External services" below for exactly what that involves. Turn on the widget When first activated, the plugin loads nothing on your public pages until you agree to the Terms and the Privacy Policy. In Settings → UserPrefs, tick "I agree to the Terms and the Privacy Policy" and click Save. The plugin records your agreement and its date in your own WordPress database; saving sends nothing to the service. The widget then appears on your pages. To turn it off again, untick the box and click Save. Connect this site (optional) Connecting adds load numbers: the settings page then shows how many widget requests the service counted for your site in the last 7 and 30 days. Settings → UserPrefs explains what connecting sends and does, and asks you to agree to the Terms and the Privacy Policy first. Connecting also turns the widget on. It needs the site's public https address, because the service checks a one-time code there, so a local or private site (such as localhost, a .local or .test name, or an IP address) cannot connect; it does not need to. You can disconnect at any time from the same page. Sites that used UserPrefs before version 1.8.0, and sites with a verified paid license, keep the widget without either step. Connecting adds the site's own load numbers to the settings page. What visitors can adjust Choose the tools on the panel In Settings → UserPrefs, under "Tools on the Panel", untick any tool you do not want on your panel. This works on every plan. A visitor who turned that tool on earlier no longer gets it on your site. Use your own button Any button, link or menu item with the CSS class userprefs-trigger (or the attribute data-userprefs-custom-trigger="true") opens the panel. You can then hide the round button. Only do that once your own button is on every page: while the round button is hidden, the settings page and the Dashboard show a notice saying visitors can open the panel only through your own button. Find images with no alt text Media → Missing Alt Text lists the images in your Media Library that have no alt text, and the images in your published posts and pages that have no alt attribute or an empty one. An empty alt is right only for an image that is pure decoration, so those are labelled, not called faults. The list is read from your own database: it sends nothing and changes nothing. It cannot see images your theme or other plugins add outside the post content, content a page builder keeps elsewhere, or background images set in CSS. What it does and does not do UserPrefs gives visitors control over text size, contrast, motion and spacing. Those adjustments support specific presentation-level WCAG criteria, such as 1.4.4 (Resize Text) and 1.4.12 (Text Spacing). It does not make a site WCAG or ADA compliant. Structural issues, such as missing alt text, heading order, form labels, keyboard traps and color choices in your design, need code remediation in the site itself. A widget alone does not prevent lawsuits. If accessibility law matters to your business, talk to a lawyer and have the site audited. Free and paid plans The free plan includes every control above, on any site, with no key and no sign-up. On the free plan the panel's footer reads "Accessibility by Wandzilak Web Design". Paid plans (Single, Agency and Unlimited) show your own branding in the panel instead: your title, footer text and link, accessibility statement link and about link. Agency and Unlimited cover more sites. Prices are on the product page. The plugin is the same on every plan. It saves and sends all of your settings whatever your plan; the hosted service decides whether the panel shows your branding. Size Measured on 2026-11-29: the first file a page loads (loader.js) is 4.1 KB, or 1.7 KB compressed. It then loads widget.js, which is 185 KB, or about 55 KB compressed. The icons are drawn inside that file, so no icon font is downloaded. A language file loads only when a visitor picks a panel language other than English, the magnifier's extra file loads only when a visitor turns the magnifier on, and the two OpenDyslexic font files (103 KB and 108 KB) load only when a visitor turns that typeface on.

安装:

  1. In your WordPress admin, go to Plugins → Add New, search for "UserPrefs", then click Install and Activate. Or upload the zip under Plugins → Add New → Upload Plugin.
  2. Open Settings → UserPrefs. Under "Turn on the widget", tick "I agree to the Terms and the Privacy Policy" and click Save. The widget's button then appears on your front-end pages.
  3. Optional: connect the site to see its load numbers. Read what connecting sends, tick the box and click "Connect this site". Connecting works only from the live site at its public https address.
  4. Optional: on the same page, change the icon color and position, enter your branding, or verify a paid license key.
If the site used UserPrefs before version 1.8.0, the widget keeps working after the update; connecting is optional and adds the site's load numbers to the settings page.

屏幕截图:

  • Dark Contrast turned on, with the color adjustments open.
  • Media → Missing Alt Text: the images in the Media Library that have no alt text. The list sends nothing and changes nothing.
  • The language picker for the panel's own text.
  • Settings → UserPrefs: the License section with a Single plan shown, and the icon color and position.
  • Settings → UserPrefs: Tools on the Panel, where you choose which tools your visitors see, and the setting for your own button or link.
  • The script tag preview, with the Copy button and the automatic placement button.

升级注意事项:

1.9.1 After a change that alters your pages, the settings page reminds you to clear your page cache. Your settings carry over unchanged. 1.9.0 Choose which tools appear on the panel, use your own button to open it, and list the images that have no alt text. Your settings carry over unchanged. 1.8.2 Tidier code and stricter input handling. Your settings, including automatic placement, carry over unchanged. 1.8.1 The widget can now be turned on by agreeing to the Terms and the Privacy Policy, without connecting. Sites already showing the widget are unchanged. 1.8.0 Adds "Connect this site" and this site's load numbers. Sites already using the widget keep it without connecting. 1.7.0 Your branding settings are now always sent; the hosted service shows them on paid plans. Copy and links updated.

常见问题:

Does this make my site compliant?

No. No widget can. UserPrefs gives visitors control over how your pages look to them, and those adjustments support specific presentation-level WCAG criteria, such as 1.4.4 and 1.4.12. Conformance depends on how the site itself is built: headings, alt text, labels, keyboard access, focus order, color contrast in the design and more. Those need code remediation. A widget alone does not prevent lawsuits.

Is every feature in the free plan?

Yes. Every visitor control is on the free plan. The difference on paid plans is whose name the panel shows, and how many sites the license covers.

Why doesn't my branding show?

On the free plan the hosted service shows "Accessibility by Wandzilak Web Design" in the panel and ignores the title, footer, statement and about fields. The plugin still saves and sends them, so they appear as soon as the site is on a paid plan. Icon color and position work on every plan.

Is the widget self-hosted?

No. The widget's code is served by Wandzilak Web Design's hosted service. The plugin adds the script tag that loads it. It works like other hosted scripts, such as a map or chat embed: the service sends the widget's code to visitors' browsers. The plugin installs nothing on your server and does not update itself or anything else.

What does the service learn about my visitors?

What any hosted script sees: the IP address, browser user agent and page address of each request. It keeps only a daily count of loads per website. It sets no cookies and keeps no visitor identifiers or profiles. Visitors' preferences stay in their own browser. Details are in the "External services" section and the privacy policy. Whether you need to mention the service in your own privacy policy depends on your situation; your privacy advisor can tell you.

Can I place the tag myself?

Yes. In Settings → UserPrefs, turn off automatic placement and copy the script tag from the preview into your theme. The tag works on non-WordPress sites too.

Does it work on a local or private site?

Yes. Tick "I agree to the Terms and the Privacy Policy" in Settings → UserPrefs and click Save; the widget appears on your pages. Only connecting, which adds load numbers, needs the site's public https address.

Why does connecting fail?

The widget does not need connecting; connecting only adds load numbers. The service checks a one-time code at your site's own public address, so connecting works only from the live site. It fails for a site that is offline, behind a login or a maintenance page, on an http:// (not https://) address, or on a local address such as localhost or a .local or .test name. A security plugin or firewall that blocks /?rest_route=/userprefs/v1/connect-proof also stops it. The settings page says which of these happened, and on a local or private site it says that connecting needs the site's public https address.

What do the load numbers count?

Widget requests per day for your site, as the service counted them. Browsers cache the widget, so repeat loads by the same visitor are often not counted. They are not page views or visitors.

Can I use it on a staging site?

Yes. Agree to the Terms and the Privacy Policy in Settings → UserPrefs and click Save, and the widget works there. A staging site can also connect if it has its own public https address. Paid licenses are tied to their domain; development hosts such as localhost do not use up a domain slot.

How do I remove it?

To stop the widget, deactivate the plugin, or turn off automatic placement in Settings → UserPrefs. Deleting the plugin from the Plugins screen disconnects the site from the service (if it is connected) and removes its settings, its recorded agreement, its site token and its scheduled license check. A visitor can return to the default view with the widget's Reset Settings button.

更新日志:

1.9.1 1.9.0 1.8.2 1.8.1 1.8.0 1.7.0 1.6.0.1