這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Content Author Accessibility Preview

外掛說明

Flag up potential accessibility issues when your content authors preview the post or page that they have just added or amended.

Currently contains checks for:

  • Images with empty alt attributes
  • Links that open new windows
  • Links that have a title attribute
  • images that have no alt attribute
  • images that have the title attribute
  • svg files that don`t have role=”img”
  • inline svgs that don`t have role=”img”
  • empty headings
  • empty links
  • empty buttons
  • empty headings
  • empty table header cells
  • empty table data cells

Flags each element found with an outline. Where possible explains what the issue is on the page.

Can be configured to only be visible to certain user roles.

Site visitors who are not logged in will not see the potential issues.

Based on the work from Graham Armfield’s CSS tool for highlighting accessibility issues

螢幕擷圖

  • Admin settings

安裝方式

  1. Download the plugin’s zip file, extract the contents, and upload them to your wp-content/plugins folder.
  2. Login to your WordPress dashboard, click “Plugins”, and activate “Content Author Accessibility Preview”.
  3. Customise your settings by going to: Settings > Content Author Accessibility Preview.

常見問題集

Will this plugin make my site “fully accessible”?

Absolutely not. There is no quick fix for accessibility, this plugin is to be used to highlight any potential accessibility issues to your content creators.

Will this be visible to the public?

No. By default, issues will only be highlighted to anyone who is logged in. You can also stop any particular user role from seeing the highlighting in the settings page. ( for example: if you have WooCommerce, you might want to deselect “Customers” from seeing the highlights ).

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

〈Content Author Accessibility Preview〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

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

對開發相關資訊感興趣?

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

變更記錄

Future

  • Visible while editing in Gutenburg
  • Fix false positives in the admin bar
  • ~~Limit to the content area of the page~~
  • Show a legend
  • Animated flashing boarders – to really make it obvious
  • ~~Options to hide certain tests~~
    Suggest a change or feature!

1.2.0

  • Added a Test class
  • Options to stop certain tests from running

1.1.1

  • Bug fix
  • Improved colour contrast on labels

1.1.0

  • Added a container option to limit the tests to a specific area
  • All highlights are found using JS (not pure CSS anymore)
  • Added labels to highlighted elements

1.0.0

  • Initial release!