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

Accessible External Text Links

描述

I created this plugin to make external text links more accessible to people with disabilities by displaying an image with an alternative that informs the user that the link will open in a new window. Thanks to Romain Gervois.

屏幕截图

  • The plugin in action

安装

  1. Upload accessible_external_links folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go into the admin panel of the plugin and fill the ‘Image alternative text (alt attribute content)’ field with the alternative you fish to display default : “Opens in a new window”
  4. add a class of “external” on the links you wish to open in a new window.

For example use <a class='external' href='your link url'>My Link</a>

If you encounter some problems with icon positionning you can add a class of :
a.external img{} in your theme style.css file to control the image positionning

常见问题

Does it works with ie6

Actually not, and it’s not planned at the moment.

评价

此插件暂无评价。

贡献者及开发者

「Accessible External Text Links」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Accessible External Text Links」插件已被翻译至 3 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Accessible External Text Links」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0 [2012-01-22]

  • Initial release

1.1 [2012-07-15]

  • Fixed not working with Internet Explorer 8

1.2 [2013-10-20]

  • Added inline style on img tag so image displays correctly right to external link

1.3 [2013-10-20]

  • Modified alternative text input width
  • Added screenshot in readme.txt

1.4 [2013-10-20]

  • fixed JavaScript error

= 2.0 [2023-02-19]
* Added translation support
* Added french version
* Plugin code rewrite
* Enhanced security
* Added uninstall script