Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/freshtilledsoil/wp-a11y-links
A WordPress Plugin that adds a content filter to search for links that open in a new window, appending an icon to each.
https://github.com/freshtilledsoil/wp-a11y-links
Last synced: 3 months ago
JSON representation
A WordPress Plugin that adds a content filter to search for links that open in a new window, appending an icon to each.
- Host: GitHub
- URL: https://github.com/freshtilledsoil/wp-a11y-links
- Owner: freshtilledsoil
- License: gpl-3.0
- Created: 2016-07-07T14:05:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-07T14:20:52.000Z (over 8 years ago)
- Last Synced: 2024-04-29T21:08:29.831Z (7 months ago)
- Language: PHP
- Size: 30.3 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
WP A11y Links
=======================
Search a content block (string or object) with PHP to look for any links that open in a new window which need a "new window" icon to be accessible**Research about why this is important**: [WebAIM Link Text](http://webaim.org/techniques/hypertext/hypertext_links)
**3rd Party Libraries**: [Simple HTML DOM](http://simplehtmldom.sourceforge.net/)
All this plugin does is search through an HTML block for links with target="_blank" an appends an SVG icon with alt text reading, "This link opens in a new window".