Title: Content Author Accessibility Preview
Author: Matt Rose
Published: <strong>2019 年 4 月 2 日</strong>
Last modified: 2021 年 7 月 16 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/content-author-accessibility-preview.
svg)

# Content Author Accessibility Preview

 作者：[Matt Rose](https://profiles.wordpress.org/boswall/)

[下载](https://downloads.wordpress.org/plugin/content-author-accessibility-preview.zip)

 * [详情](https://cn.wordpress.org/plugins/content-author-accessibility-preview/#description)
 * [评价](https://cn.wordpress.org/plugins/content-author-accessibility-preview/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/content-author-accessibility-preview/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/content-author-accessibility-preview/#developers)

 [支持](https://wordpress.org/support/plugin/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](https://github.com/grahamarmfield/wp-preview-csshacks)

## 屏幕截图

 * [[
 * 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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Matt Rose ](https://profiles.wordpress.org/boswall/)
 *   [ Graham Armfield ](https://profiles.wordpress.org/grahamarmfield/)

「Content Author Accessibility Preview」插件已被翻译至 3 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/content-author-accessibility-preview/contributors)
为本插件所做的贡献。

[帮助将「Content Author Accessibility Preview」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/content-author-accessibility-preview)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/content-author-accessibility-preview/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/content-author-accessibility-preview/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/content-author-accessibility-preview/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/content-author-accessibility-preview/)。

## 更新日志

#### 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!](https://github.com/boswall/Content-Author-Accessibility-Preview/issues)

#### 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!

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**5 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **5.8.13**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/content-author-accessibility-preview/)、
   [German](https://de.wordpress.org/plugins/content-author-accessibility-preview/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/content-author-accessibility-preview/)
   和 [Spanish (Spain)](https://es.wordpress.org/plugins/content-author-accessibility-preview/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/content-author-accessibility-preview)
 * 标签
 * [a11y](https://cn.wordpress.org/plugins/tags/a11y/)[accessibility](https://cn.wordpress.org/plugins/tags/accessibility/)
   [accessible](https://cn.wordpress.org/plugins/tags/accessible/)[section508](https://cn.wordpress.org/plugins/tags/section508/)
   [wcag](https://cn.wordpress.org/plugins/tags/wcag/)
 *  [高级视图](https://cn.wordpress.org/plugins/content-author-accessibility-preview/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/content-author-accessibility-preview/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/content-author-accessibility-preview/reviews/)

## 贡献者

 *   [ Matt Rose ](https://profiles.wordpress.org/boswall/)
 *   [ Graham Armfield ](https://profiles.wordpress.org/grahamarmfield/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/content-author-accessibility-preview/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://github.com/boswall/Content-Author-Accessibility-Preview)