WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/28/2014 09:02:02 PM (5 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: Use a heading heirarchy to provide a better navigation experience when using screenreading software.

Props davidakennedy, rianrietveld, iamtakashi, afercia, davidakennedy, fixes #30065.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/functions.php

    r30053 r30072  
    120120        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    121121        'after_widget'  => '</aside>',
    122         'before_title'  => '<h1 class="widget-title">',
    123         'after_title'   => '</h1>',
     122        'before_title'  => '<h2 class="widget-title">',
     123        'after_title'   => '</h2>',
    124124    ) );
    125125}
Note: See TracChangeset for help on using the changeset viewer.