该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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!