Support » Plugin: List category posts » Remove title attribute from links

  • dcclxi

    (@dcclxi)


    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!

    • This topic was modified 2 weeks ago by dcclxi.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.