WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/07/2015 01:27:01 AM (4 years ago)
Author:
wonderboymusic
Message:

List Tables/WP_Screen: in WP_Screen, add methods to store, retrieve, and render screen reader text, primarily used by list table screens.

These additions are based on an audit and recommendations by the Accessibility team. #a11y'all

Props afercia.
Fixes #32147.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/themes.php

    r34778 r34891  
    252252);
    253253
     254get_current_screen()->set_screen_reader_content( array(
     255    'heading_views'      => __( 'Filter themes list' ),
     256    'heading_pagination' => __( 'Themes list navigation' ),
     257    'heading_list'       => __( 'Themes list' ),
     258) );
     259
    254260$title = __('Themes');
    255261$parent_file = 'themes.php';
Note: See TracChangeset for help on using the changeset viewer.