Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Remove title attribute from links

$
0
0

Replies: 0

Hello,

I’m writing to ask if it would be possible to provide a new shortcode option to exclude the title attribute of the post links (for accessibility purposes).

In other words, I’d like the list items to be:
<li><a href="...">Title of post</a></li>
instead of:
<li><a href="Title of post">Title of post</a></li>

I can do this myself by changing the associated code in lcp-catlistdisplayer.php but that will break every time there is an update.

The reason I’m asking for this is that the title attribute takes the value of the post title, leading to multiple “redundant title text” warnings when running the plugin output in a web accessibility evaluation tool (WebAIM in this case). As far as I understand this, there is no need for a title attribute in the above case.

Evyve


Viewing all articles
Browse latest Browse all 59525

Trending Articles