WP_Screen::get_screen_reader_content() WordPress Method
The WP_Screen::get_screen_reader_content() method is used to get the content that should be read by a screen reader when the current screen is displayed. This can be useful for customizing the content that is read aloud to users who are blind or have low vision.
WP_Screen::get_screen_reader_content() #
Get the accessible hidden headings and text used in the screen.
Description
See also
- set_screen_reader_content(): For more information on the array format.
Return
(array) An associative array of screen reader text strings.
Source
File: wp-admin/includes/class-wp-screen.php
public function get_screen_reader_content() { return $this->_screen_reader_content; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |