Title: WP_Screen::set_screen_reader_content
Published: December 9, 2015
Last modified: April 28, 2025

---

# WP_Screen::set_screen_reader_content( array $content = array() )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/classes/wp_screen/set_screen_reader_content/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/classes/wp_screen/set_screen_reader_content/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/wp_screen/set_screen_reader_content/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_screen/set_screen_reader_content/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/classes/wp_screen/set_screen_reader_content/?output_format=md#wp--skip-link--target)

Adds accessible hidden headings and text for the screen.

## 󠀁[Parameters](https://developer.wordpress.org/reference/classes/wp_screen/set_screen_reader_content/?output_format=md#parameters)󠁿

 `$content`arrayoptional

An associative array of screen reader text strings.

 * `heading_views` string
 * Screen reader text for the filter links heading.
    Default ‘Filter items list’.
 * `heading_pagination` string
 * Screen reader text for the pagination heading.
    Default ‘Items list navigation’.
 * `heading_list` string
 * Screen reader text for the items list heading.
    Default ‘Items list’.

Default:`array()`

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_screen/set_screen_reader_content/?output_format=md#source)󠁿

    ```php
    public function set_screen_reader_content( $content = array() ) {
    	$defaults = array(
    		'heading_views'      => __( 'Filter items list' ),
    		'heading_pagination' => __( 'Items list navigation' ),
    		'heading_list'       => __( 'Items list' ),
    	);
    	$content  = wp_parse_args( $content, $defaults );

    	$this->_screen_reader_content = $content;
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-wp-screen.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-admin/includes/class-wp-screen.php#L761)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/class-wp-screen.php#L761-L770)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/wp_screen/set_screen_reader_content/?output_format=md#related)󠁿

| Uses | Description | 
| [__()](https://developer.wordpress.org/reference/functions/__/)`wp-includes/l10n.php` |

Retrieves the translation of $text.

  | 
| [wp_parse_args()](https://developer.wordpress.org/reference/functions/wp_parse_args/)`wp-includes/functions.php` |

Merges user defined arguments into defaults array.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_screen/set_screen_reader_content/?output_format=md#changelog)󠁿

| Version | Description | 
| [4.4.0](https://developer.wordpress.org/reference/since/4.4.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_screen%2Fset_screen_reader_content%2F)
before being able to contribute a note or feedback.