Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/22/2017 08:09:27 PM (8 years ago)
Author:
djpaul
Message:

HTML <a> elements should never have title attributes.

Accessible support is too inconsistent across software and platforms.
In a small number of places (mainly legacy templates) where the link text was a meaningless value, the attribute was swapped out for aria-label, which reliably overides the link text readout.

Props rianrietveld

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/message.php

    r10181 r11606  
    3131                    <?php if ( bp_get_the_thread_message_sender_link() ) : ?>
    3232
    33                         <strong><a href="<?php bp_the_thread_message_sender_link(); ?>" title="<?php bp_the_thread_message_sender_name(); ?>"><?php bp_the_thread_message_sender_name(); ?></a></strong>
     33                        <strong><a href="<?php bp_the_thread_message_sender_link(); ?>"><?php bp_the_thread_message_sender_name(); ?></a></strong>
    3434
    3535                    <?php else : ?>
Note: See TracChangeset for help on using the changeset viewer.