WordPress.org

Making WordPress.org


Ignore:
Timestamp:
08/09/2016 08:20:56 PM (5 years ago)
Author:
obenland
Message:

Plugin Directory: Accessibility improvements.

Adds more context to ambiguous UI items on front page and single plugin page.

Fixes #1862.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/front-page.php

    r3541 r3792  
    1717
    1818$widget_args = array(
    19     'before_title' => '<h4 class="widget-title">',
    20     'after_title'  => '</h4>',
     19    'before_title' => '<h3 class="widget-title">',
     20    'after_title'  => '</h3>',
    2121);
    2222
     
    4444            <section class="plugin-section">
    4545                <header class="section-header">
    46                     <h1 class="section-title"><?php echo esc_html( $section_title ); ?></h1>
    47                     <a class="section-link" href="<?php echo esc_url( home_url( "browse/$browse/" ) ); ?>"><?php _ex( 'See all', 'plugins', 'wporg-plugins' ); ?></a>
     46                    <h2 class="section-title"><?php echo esc_html( $section_title ); ?></h2>
     47                    <a class="section-link" href="<?php echo esc_url( home_url( "browse/$browse/" ) ); ?>"><?php printf( _x( 'See all %s', 'plugins', 'wporg-plugins' ), "<span class=\"screen-reader-text\">{$section_title}</span>" ); ?></a>
    4848                </header>
    4949
Note: See TracChangeset for help on using the changeset viewer.