Make WordPress Core


Ignore:
Timestamp:
06/02/2011 07:30:07 PM (14 years ago)
Author:
iandstewart
Message:

Twenty Eleven: accessibility improvements and minor style fixes for galleries; See #17524

  • Improved color contrast for light and dark color schemes
  • Skip link for skipping directly to sidebar content
  • Skip links visible on :focus
  • Using a more semantic, general class name of .assistive-text instead of .section-heading and .screen-reader-text
  • Focus styles for password inputs (and a minor style fix)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/single.php

    r17959 r18117  
    1616
    1717                    <nav id="nav-single">
    18                         <h1 class="section-heading"><?php _e( 'Post navigation', 'toolbox' ); ?></h1>
     18                        <h1 class="assistive-text"><?php _e( 'Post navigation', 'toolbox' ); ?></h1>
    1919                        <span class="nav-previous"><?php previous_post_link( '%link', __( '&larr; Previous', 'twentyeleven' ) ); ?></span>
    2020                        <span class="nav-next"><?php next_post_link( '%link', __( 'Next &rarr;', 'twentyeleven' ) ); ?></span>
Note: See TracChangeset for help on using the changeset viewer.