Remove title attribute from links
-
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.
Thanks in advance if you consider this!
- The topic ‘Remove title attribute from links’ is closed to new replies.