This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Screen Reader Text Format

Description

Screen Reader Text Format adds a screen reader only text format control to the block editor. This allows content creators to correctly markup certain types of text content. For example, when using the strikethrough text format, it is almost always correct to include screan reader text that indicates the content has been struck out and if the content is replaced with an insert, the correct solution is to include screen reader text that indicates the insertion.

Without this ability, content creators will have to do complicated HTML edits to create the correct text informing screen readers of strike, insert, and even “important” notes that are indicated with bold text since screen readers are completely agnostic towards those HTML tags.

Installation

  1. Upload the screen-reader-text-format folder and all its contents to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

Why do I need to use screen reader text?

The most common use case is when the text had been formated using things like strike. This is great for visual users, but users who are accessing content via a screen reader will not know what has happened.

For example, let’s say you are writting about a product and that product is normally $100 but the price is marked down to $80. This might be represented as ~$100~ $80. That is to say <del>$100</del> $80. A screen reader will read “$100 $80” with no mention of the strike through.

In the best case scenerio this would be written out “Was $100 now $80” but often the design will not allow the space, hence the shorthand. To fix this for screen readers, the screen reader text format can be used to include “was” and “now” so this will make more sense for screen readers.

How do I use this?

In the block editor, most text content like paragraphs, headings, and lists have a text format toolbar. To use the tool add your text, then highlight it. This should bring up the text format toolbar. Click the down arrow and select the screen reader text format.

How do I find hidden text?

Once you add and hide text it may be difficult to find. Fortunately we added some highlighting to make this easier. When you are editing a block, any text that is hidden within the block or it’s children will be displayed with highlighted.

Reviews

June 21, 2023
This simple utility makes adding helpful screen reader text to blocks easy. This is especially helpful to give more meaning to generic calls-to-action like Learn more or View bio buttons.
February 2, 2022
I always add my own screen reader text into sites for a variety of reasons (adding non-visual context to sections, adding extensions to buttons like “Read more [about article title]”, and so on). But it’s a manual process and can sometimes be a bit tricky. This plugin makes adding screen reader text much more efficient and event allows some of my clients to add it on their own. I didn’t discover this plugin too long ago, but so far I haven’t experienced any issues. I only use Gutenberg and block library plugins (nothing like Divi or Elementor), and so far it’s been compatible with everything. Such an awesome contribution to the repo! An asset for any site!
Read all 2 reviews

Contributors & Developers

“Screen Reader Text Format” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.0

  • [fix] Issue with block based widget editor
  • [chore] Update build method
  • [chore] Code standard updates
  • [chore] Optimize images

1.0.0

  • Initial release