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/groups/single/cover-image-header.php

    r11171 r11606  
    2020        <?php if ( ! bp_disable_group_avatar_uploads() ) : ?>
    2121            <div id="item-header-avatar">
    22                 <a href="<?php echo esc_url( bp_get_group_permalink() ); ?>" title="<?php echo esc_attr( bp_get_group_name() ); ?>">
     22                <a href="<?php echo esc_url( bp_get_group_permalink() ); ?>">
    2323
    2424                    <?php bp_group_avatar(); ?>
Note: See TracChangeset for help on using the changeset viewer.