Make WordPress Core


Ignore:
Timestamp:
10/09/2013 07:06:06 PM (10 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: remove title attributes for better accessibility. Props sabreuse for original patch, see #25054.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/header.php

    r25742 r25743  
    2929    <?php if ( get_header_image() ) : ?>
    3030    <div id="site-header">
    31         <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
     31        <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
    3232            <img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" />
    3333        </a>
     
    3737    <header id="masthead" class="site-header" role="banner">
    3838        <div class="header-main">
    39             <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
     39            <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    4040
    4141            <div class="header-extra">
Note: See TracChangeset for help on using the changeset viewer.