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/plugin-install.php

    r33067 r34891  
    8989);
    9090
     91get_current_screen()->set_screen_reader_content( array(
     92    'heading_views'      => __( 'Filter plugins list' ),
     93    'heading_pagination' => __( 'Plugins list navigation' ),
     94    'heading_list'       => __( 'Plugins list' ),
     95) );
     96
    9197/**
    9298 * WordPress Administration Template Header.
Note: See TracChangeset for help on using the changeset viewer.