Make WordPress Core


Ignore:
Timestamp:
10/07/2015 01:27:01 AM (9 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/upload.php

    r34797 r34891  
    205205);
    206206
     207get_current_screen()->set_screen_reader_content( array(
     208    'heading_views'      => __( 'Filter media items list' ),
     209    'heading_pagination' => __( 'Media items list navigation' ),
     210    'heading_list'       => __( 'Media items list' ),
     211) );
     212
    207213require_once( ABSPATH . 'wp-admin/admin-header.php' );
    208214?>
Note: See TracChangeset for help on using the changeset viewer.