Title: screen reader | Make WordPress Accessible

---

#  Tag Archives: screen reader

 [  ](https://profiles.wordpress.org/joedolson/) [Joe Dolson](https://profiles.wordpress.org/joedolson/)
4:16 pm _on_ February 9, 2015     
Tags: classes, [plugins ( 2 )](https://make.wordpress.org/accessibility/tag/plugins-2/),
screen reader, [themes ( 7 )](https://make.wordpress.org/accessibility/tag/themes-2/)

# 󠀁[Hiding text for screen readers with WordPress Core](https://make.wordpress.org/accessibility/2015/02/09/hiding-text-for-screen-readers-with-wordpress-core/)󠁿

WordPress introduced the class `.screen-reader-text` in 2009. Since then, it’s been
the canonical way that WordPress handles any HTMLHTML HTML is an acronym for Hyper
Text Markup Language. It is a markup language that is used in the development of
web pages and websites. output that is targeted at screen readers. Introducing new
HTML in the admin that uses this class has never been an issue; but adding more 
hidden text to output into themed content has been an ongoing problem.

Starting with WordPress 4.2, coreCore Core is the set of software required to run
WordPress. The Core Development Team builds WordPress. will be making greater usage
of the `.screen-reader-text` class in front-end code, so theme and plug-in developers
need to know how to work with it.

It’s easy to hide text — but the `.screen-reader-text` class is not about hiding
text. It’s about providing text to a targeted audience that’s using a non-visual
method to access it. So the simplest methods of hiding text – `display: none;` and`
visibility: hidden;` aren’t an option. These techniques really do hide the text –
from all devices, and all assistive technologyAssistive technology **Assistive technology**
is an [umbrella term](https://en.wikipedia.org/wiki/Umbrella_term) that includes
assistive, adaptive, and rehabilitative devices for [people with disabilities](https://en.wikipedia.org/wiki/Disability)
and also includes the process used in selecting, locating, and using them. Assistive
technology promotes greater independence by enabling people to perform tasks that
they were formerly unable to accomplish, or had great difficulty accomplishing, 
by providing enhancements to, or changing methods of interacting with, the [technology](https://en.wikipedia.org/wiki/Technology)
needed to accomplish such tasks. [https://en.wikipedia.org/wiki/Assistive_technology](https://en.wikipedia.org/wiki/Assistive_technology).

### How to use screen-reader text

The purpose of screen-reader targeted text is to provide additional context for 
links, document structure, and form fields. Usually, that context is readily available
to a sighted user because of visual cues and familiar patterns.

Screen reader text has many specific applications. One common example of this is
a link that says “read more”. On its own, this link lacks context in a screen reader.
While a sighted visitor can easily identify the context from the surrounding text
and images, a screen reader user benefits from including the title of the target
in the link:

    ```
    <a href="{article.permalink}#more">read more<span class="screen-reader-text"> of the title of {article.title}</span></a>
    ```

Another use of `.screen-reader-text` is to hide labels in forms. Search forms are
a common place where designers use placeholders and image buttons to convey the 
purpose of the form. Adding a label that’s available to screen readers make the 
form usable for screen reader users, without altering the design.

### Defining the class

When you define classes for `.screen-reader-text`, there are two common methods:
absolute positioning and clipping.

The clip-path method is used by WordPress core, and is the preferred method. The‘
clip’ property has been deprecated, and support for `clip-path` is good, meeting
the WordPress baseline for browser support.

**Note**: this CSSCSS CSS is an acronym for cascading style sheets. This is what
controls the design or look and feel of a site. was last updated on February 13th,
2026

    ```
    /* Text meant only for screen readers. */
    .screen-reader-text {
      border: 0;
      clip-path: inset(50%);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute !important;
      width: 1px;
      word-wrap: normal !important;
      word-break: normal !important;
    }
    ```

The absolute positioning method is simpler, but requires you to provide alternate
styles for right-to-left and left-to-right languages:

    ```
    .screen-reader-text {
        position: absolute !important;
        left: -999em;
    }
    ```

It’s common to see the absolute positioning method also using negative positioning
on the top margin — this is not recommended. While the arbitrary measurement of -
999em is effective almost 100% of the time off the left margin, almost no value 
will be universally usable off the top margin. Additionally, if any object that 
can receive focus (such as a link, button, or form input) is positioned off the 
top of the screen, it will cause the browser to automatically scroll to the top 
of the window if that element receives focus. This can be disorienting for anybody
using a keyboard to navigate the page. It’s also worth noting that the off-left 
positioning method can have a negative impact on web site performance.

### Bring Hidden Text into Focus

In some cases, it’ll be necessary to bring your hidden text into view when it receives
keyboard focus. This is relatively rare, and primarily effects [Skip links](http://webaim.org/techniques/skipnav/),
which need to be made visible for keyboard users. You shouldn’t apply a focus state
on most screen reader text; if that text doesn’t need to be seen in order for the
context to be understood by a sighted user, don’t make it visible on focus.

If you do need to bring screen reader text into focus, you can use these base styles
to move the text into view when using the clip method:

    ```
    .screen-reader-text:focus {
      background-color: #eee;
      clip: auto !important;
      clip-path: none;
      color: #444;
      display: block;
      font-size: 1em;
      height: auto;
      left: 5px;
      line-height: normal;
      padding: 15px 23px 14px;
      text-decoration: none;
      top: 5px;
      width: auto;
      z-index: 100000; /* Above WP toolbar. */
    }
    ```

Using the absolute positioning method, it’s simply a matter of changing the value
of the left positioning so that the text is on screen.

[#classes](https://make.wordpress.org/accessibility/tag/classes/), [#plugins-2](https://make.wordpress.org/accessibility/tag/plugins-2/),
[#screen-reader](https://make.wordpress.org/accessibility/tag/screen-reader/), [#themes-2](https://make.wordpress.org/accessibility/tag/themes-2/)

 [  ](https://profiles.wordpress.org/grahamarmfield/) [Graham Armfield](https://profiles.wordpress.org/grahamarmfield/)
5:46 pm _on_ March 24, 2014     
Tags: [accessibility ( 148 )](https://make.wordpress.org/accessibility/tag/accessibility/),
[assistive technology ( 2 )](https://make.wordpress.org/accessibility/tag/assistive-technology/),
[feedback ( 9 )](https://make.wordpress.org/accessibility/tag/feedback/), [jaws admin ( 2 )](https://make.wordpress.org/accessibility/tag/jaws-admin/),
screen reader, [testing ( 17 )](https://make.wordpress.org/accessibility/tag/testing/),
[trac ( 7 )](https://make.wordpress.org/accessibility/tag/trac-2/)   

# 󠀁[Digital Accessibility Centre Visit – Part 3: The Blind Perspective](https://make.wordpress.org/accessibility/2014/03/24/digital-accessibility-centre-visit-part-3-the-blind-perspective/)󠁿

This is the third post documenting a recent visit to Digital AccessibilityAccessibility
Accessibility (commonly shortened to a11y) refers to the design of products, devices,
services, or environments for people with disabilities. The concept of accessible
design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning
compatibility with a person’s assistive technology (for example, computer screen
readers). (https://en.wikipedia.org/wiki/Accessibility) Centre in Neath, South Wales
organised by fellow team member [Siobhan Bamber](https://twitter.com/SiobhyB). [The first post can be found here](https://make.wordpress.org/accessibility/2014/03/24/digital-accessibility-centre-visit-1-introduction-keyboard-dragon-testing/),
and [the second post here](https://make.wordpress.org/accessibility/2014/03/24/digital-accessibility-centre-visit-2-poor-vision/).

Three of the staff from DAC gave us feedback on using the WordPress admin screens.
Each of the three have a particular impairment, and the visit was a valuable opportunity
to learn about ways we could improve WordPress for everyone.

In this post we take feedback from Carly who is totally blind. She showed us how
she used a screen reader and gave us some great feedback on using the WordPress 
admin screens with a screen reader.

 [Continue reading →](https://make.wordpress.org/accessibility/2014/03/24/digital-accessibility-centre-visit-part-3-the-blind-perspective/#more-5351)

[#accessibility](https://make.wordpress.org/accessibility/tag/accessibility/), [#assistive-technology](https://make.wordpress.org/accessibility/tag/assistive-technology/),
[#feedback](https://make.wordpress.org/accessibility/tag/feedback/), [#jaws-admin](https://make.wordpress.org/accessibility/tag/jaws-admin/),
[#screen-reader](https://make.wordpress.org/accessibility/tag/screen-reader/), [#testing](https://make.wordpress.org/accessibility/tag/testing/),
[#trac-2](https://make.wordpress.org/accessibility/tag/trac-2/)

 [  ](https://profiles.wordpress.org/esmi/) [esmi](https://profiles.wordpress.org/esmi/)
8:55 am _on_ May 17, 2013     
Tags: [feedback ( 9 )](https://make.wordpress.org/accessibility/tag/feedback/),
screen reader, [testing ( 17 )](https://make.wordpress.org/accessibility/tag/testing/)

# 󠀁[Site Feedback Request](https://make.wordpress.org/accessibility/2013/05/17/site-feedback-request/)󠁿

We have been approached by the folks over at [translate.wordpress.org](https://translate.wordpress.org/).
They are keen to ensure that it is accessible as possible and would like our help
to identify any problems with the current site.

So please take a little time, between May 17 & May 31, to have a look at [translate.wordpress.org](https://translate.wordpress.org/)
and give us your feedback via comments on this post. In order to support you and
provide some structure to the feedback, we’ve prepared a [Site Feedback Guide](https://make.wordpress.org/accessibility/site-feedback-guide/http://)
that should help.

We look forward to your contributions.

[#feedback](https://make.wordpress.org/accessibility/tag/feedback/), [#screen-reader](https://make.wordpress.org/accessibility/tag/screen-reader/),
[#testing](https://make.wordpress.org/accessibility/tag/testing/)

 [  ](https://profiles.wordpress.org/grahamarmfield/) [Graham Armfield](https://profiles.wordpress.org/grahamarmfield/)
10:31 am _on_ April 4, 2013     
Tags: [accessibility ( 148 )](https://make.wordpress.org/accessibility/tag/accessibility/),
[add media ( 4 )](https://make.wordpress.org/accessibility/tag/add-media/), [irc ( 11 )](https://make.wordpress.org/accessibility/tag/irc/),
[keyboard ( 4 )](https://make.wordpress.org/accessibility/tag/keyboard/), [media manager ( 6 )](https://make.wordpress.org/accessibility/tag/media-manager/),
screen reader, [testing ( 17 )](https://make.wordpress.org/accessibility/tag/testing/)

# 󠀁[Accessibility IRC Chat – 3rd April 2013](https://make.wordpress.org/accessibility/2013/04/04/accessibility-irc-chat-3rd-april-2013/)󠁿

A few of us took part in the IRC chat yesterday ([see transcript here](https://irclogs.wordpress.org/chanlog.php?channel=wordpress-ui&day=2013-04-03&sort=asc)).
Not surprisingly the main subject was the Add Media Panel accessibilityAccessibility
Accessibility (commonly shortened to a11y) refers to the design of products, devices,
services, or environments for people with disabilities. The concept of accessible
design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning
compatibility with a person’s assistive technology (for example, computer screen
readers). (https://en.wikipedia.org/wiki/Accessibility), and the format of the chat
turned into a live screen reader test on the functionality performed by @_Redd and
[@arush](https://profiles.wordpress.org/arush/) (and myself).

@lessbloat had kindly had a go at implementing my quick and dirty pragmatic ARIA
solution – for which we are truly grateful. Once we’d got access to an environment
where the changes were in effect we could see that vast improvements had been made
to the accessibility.

I’ll save the detail to the [blog post about Add Media Panel](https://make.wordpress.org/accessibility/2013/03/28/add-media-panel-and-wordpress-3-6-a-simple-solution/)
but to summarise:

 * Keyboard-only users can now tab through the items in the media list and select/
   deselect using Enter key
 * Screen reader users were getting some useful information but possibly only the
   newest versions can fully use this functionality.
 * Voice recognition users can at least use the tab commands to move around the 
   list and select them.

The key decision now is whether the functionality is useful and solid enough to 
include in 3.6. A couple of extra enhancements would make the solution better for
screen reader users – once again [see previous post](https://make.wordpress.org/accessibility/2013/03/28/add-media-panel-and-wordpress-3-6-a-simple-solution/).

My vote would be to run with it if we can get the small further enhancements. We
can hopefully address the rest of the accessibility issues within 3.7.  But what
do you think?

[#accessibility](https://make.wordpress.org/accessibility/tag/accessibility/), [#add-media](https://make.wordpress.org/accessibility/tag/add-media/),
[#irc](https://make.wordpress.org/accessibility/tag/irc/), [#keyboard](https://make.wordpress.org/accessibility/tag/keyboard/),
[#media-manager](https://make.wordpress.org/accessibility/tag/media-manager/), [#screen-reader](https://make.wordpress.org/accessibility/tag/screen-reader/),
[#testing](https://make.wordpress.org/accessibility/tag/testing/)

 [  ](https://profiles.wordpress.org/grahamarmfield/) [Graham Armfield](https://profiles.wordpress.org/grahamarmfield/)
12:37 pm _on_ March 28, 2013     
Tags: [accessibility ( 148 )](https://make.wordpress.org/accessibility/tag/accessibility/),
[add media ( 4 )](https://make.wordpress.org/accessibility/tag/add-media/), [images ( 6 )](https://make.wordpress.org/accessibility/tag/images/),
[irc ( 11 )](https://make.wordpress.org/accessibility/tag/irc/), [keyboard ( 4 )](https://make.wordpress.org/accessibility/tag/keyboard/),
[markup ( 2 )](https://make.wordpress.org/accessibility/tag/markup/), [media manager ( 6 )](https://make.wordpress.org/accessibility/tag/media-manager/),
screen reader, [ui ( 5 )](https://make.wordpress.org/accessibility/tag/ui/)   

# 󠀁[Add Media Panel and WordPress 3.6 – A Simple Solution?](https://make.wordpress.org/accessibility/2013/03/28/add-media-panel-and-wordpress-3-6-a-simple-solution/)󠁿

The betaBeta A pre-release of software that is given out to a large group of users
to trial under real conditions. Beta versions have gone through alpha testing in-
house and are generally fairly close in look, feel and function to the final product;
however, design changes often occur as part of the process. version of WordPress
3.6 is very close now and the chances of significant extra functionality being included
must be slim. But, the Add Media Panel introduced in 3.5 is still inaccessible and
the tracTrac Trac is the place where contributors create issues for bugs or feature
requests much like GitHub.[https://core.trac.wordpress.org/](https://core.trac.wordpress.org/).
tickets raised on this are still untouched.

This is a real problem as the Add Media Panel is such a key piece of functionality.

However, from our IRC chat yesterday the germs of a simple solution may have emerged–
a solution that could maybe make the functionality accessible to keyboard and screen
reader users. We just need someone to give it a try.

 [Continue reading →](https://make.wordpress.org/accessibility/2013/03/28/add-media-panel-and-wordpress-3-6-a-simple-solution/#more-409)

[#accessibility](https://make.wordpress.org/accessibility/tag/accessibility/), [#add-media](https://make.wordpress.org/accessibility/tag/add-media/),
[#images](https://make.wordpress.org/accessibility/tag/images/), [#irc](https://make.wordpress.org/accessibility/tag/irc/),
[#keyboard](https://make.wordpress.org/accessibility/tag/keyboard/), [#markup](https://make.wordpress.org/accessibility/tag/markup/),
[#media-manager](https://make.wordpress.org/accessibility/tag/media-manager/), [#screen-reader](https://make.wordpress.org/accessibility/tag/screen-reader/),
[#ui](https://make.wordpress.org/accessibility/tag/ui/)

 [  ](https://profiles.wordpress.org/ceo/) [Cyndy Otty](https://profiles.wordpress.org/ceo/)
7:30 pm _on_ February 28, 2013     
Tags: [add media ( 4 )](https://make.wordpress.org/accessibility/tag/add-media/),
screen reader   

# 󠀁[Add Media Accessibility Summary](https://make.wordpress.org/accessibility/2013/02/28/add-media-accessibility-summary/)󠁿

Following up on [the original post about the Add Media panel](https://make.wordpress.org/accessibility/2013/02/25/add-media-panel-accessibility-issues/),
here’s a quick rundown of the functionality issues with screen readers:

 * Cannot select images from Media Library.
 * Media Library images display in list either without description/title (IE) or
   only the first image is seen within the list (Firefox).
 * A newly uploaded image can be deselected, but no other images can be selected
   in addition.
 * Cannot activate the Select Files link to upload image in Internet Explorer. (
   Works in Firefox.)
 * Form fields lack description; show as “unlabeled” in Internet Explorer.
 * Moving through the media panel can take the user (unknowingly) back into the 
   edit screen.
 * Upon “re-entering” the media panel (see previous bullet point), form fields and
   links no longer seem to work.

I’m sure there are other things that can be added to this list that I’ve missed.(
Feel free to edit this as necessary, [@grahamarmfield](https://profiles.wordpress.org/grahamarmfield/).)
Unfortunately, while compiling this list my JAWS went berserk, giving me a bunch
of installation errors and then my computer crashed.

[#add-media](https://make.wordpress.org/accessibility/tag/add-media/), [#screen-reader](https://make.wordpress.org/accessibility/tag/screen-reader/)

 [  ](https://profiles.wordpress.org/grahamarmfield/) [Graham Armfield](https://profiles.wordpress.org/grahamarmfield/)
10:01 am _on_ February 25, 2013     
Tags: [accessibility ( 148 )](https://make.wordpress.org/accessibility/tag/accessibility/),
[add media ( 4 )](https://make.wordpress.org/accessibility/tag/add-media/), [images ( 6 )](https://make.wordpress.org/accessibility/tag/images/),
[keyboard ( 4 )](https://make.wordpress.org/accessibility/tag/keyboard/), screen
reader   

# 󠀁[Add Media Panel – Accessibility Issues](https://make.wordpress.org/accessibility/2013/02/25/add-media-panel-accessibility-issues/)󠁿

I’ve raised this post as I feel that the issue of the Add Media panel accessibilityAccessibility
Accessibility (commonly shortened to a11y) refers to the design of products, devices,
services, or environments for people with disabilities. The concept of accessible
design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning
compatibility with a person’s assistive technology (for example, computer screen
readers). (https://en.wikipedia.org/wiki/Accessibility) needs some debate amongst
the accessibility community.

Last week I raised three WP tracTrac Trac is the place where contributors create
issues for bugs or feature requests much like GitHub.[https://core.trac.wordpress.org/](https://core.trac.wordpress.org/).
tickets covering my take on the problems from the keyboard access, screen reader
and VR aspects. They are: [#23560](https://core.trac.wordpress.org/ticket/23560)
and [#23561](https://core.trac.wordpress.org/ticket/23561).

The main problem as I see it is that it is not possible to select/deselect any of
the media without using a mouse.

The functionality primarily acts like a group of checkboxes – selecting one or multiple
elements, with feedback that they have been selected. However, that is not how the
functionality has actually been implemented – it’s a series of divs contained within
an unordered list. There appears to be nothing to receive focus. There are links
for each file, but the links appear empty although they are used to show the selected
icon. These links are also initially invisible using CSSCSS CSS is an acronym for
cascading style sheets. This is what controls the design or look and feel of a site.
techniques that hide them from screen readers – hence the no tabbing into the images
issue.

Is the use of ARIA going to really be able to help here?

When mouse users select an image they can update the attribute values for that image
using the panel to the right – which updates its content automatically. Allowing
keyboard users to quickly reach the attributes boxes would obviously be desirable–
the alternative being tabbing through all the previously uploaded files.

The media selector panel has been implemented with infinite scrolling, so on mature
and/or larger sites with many images/files (I have one) the list of images gets 
bigger and bigger. From an accessibility perspective I’d favour paging over infinite
scrolling, but what’s your take on that?

Is this another area where bending the new functionality to include accessibility
might be too much? Is this another place where an accessibility mode is going to
be required?

What do you think?

[#accessibility](https://make.wordpress.org/accessibility/tag/accessibility/), [#add-media](https://make.wordpress.org/accessibility/tag/add-media/),
[#images](https://make.wordpress.org/accessibility/tag/images/), [#keyboard](https://make.wordpress.org/accessibility/tag/keyboard/),
[#screen-reader](https://make.wordpress.org/accessibility/tag/screen-reader/)