#9791 closed defect (bug) (fixed)
Use a more semantic class name for screen reader class
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Accessibility | Version: | 2.8 |
| Severity: | normal | Keywords: | has-patch screen-reader-text |
| Cc: | ryan |
Description
To be semantic, CSS classes (and ids) should describe meaning or function, not style.
So attached patch exchanges "invisible" for "screen-reader-text".
Attachments (1)
Change History (5)
comment:2
markjaquith — 4 years ago
- Resolution set to fixed
- Status changed from new to closed
comment:3
nbachiyski — 4 years ago
Isn't it targeted for browsers with no/disabled JavaScript, not for text readers specifically? This class name is really long, given the number of times it is used.
Note: See
TracTickets for help on using
tickets.

See comment here: http://core.trac.wordpress.org/ticket/9783