Make WordPress Core

#21176 closed defect (bug) (fixed)

"Alernate Text" should be "Alt" or "Alternative"

Reported by: alecrust Owned by: nacin
Milestone: 3.5 Priority: normal
Severity: minor Version: 3.4.1
Component: Media Keywords: easy-fix has-patch commit
Focuses: Cc:


The media uploader provides an "Alternate Text" field which populates the image's "alt" attribute.

The word "alternate" means "to occur in turn repeatedly". This is incorrect usage of this word.

"alt" is abbreviated from the word "alternative", so this field's label should read "Alt Text" or "Alternative Text".

Source: http://www.w3.org/TR/WCAG20-TECHS/H37

Attachments (3)

21176.diff (1.4 KB) - added by RyanJKoehler 22 months ago.
changed "Alternate" to "Alternative"
21176.2.diff (377 bytes) - added by SergeyBiryukov 17 months ago.
21176.2.2.diff (372 bytes) - added by mikehansenme 17 months ago.

Download all attachments as: .zip

Change History (17)

comment:1 SergeyBiryukov22 months ago

  • Keywords needs-patch easy-fix added

We already have "Alt Text" in the help text under the input, so I guess it should be "Alternative Text".

comment:2 alecrust22 months ago

Agreed, as long as "Alternative Text" fits in the space nicely :)

Shall I create a fork on GitHub or just leave this case to be resolved by one of you guys?

comment:3 scribu22 months ago

The WordPress repo on github is just a mirror. Development happens here, so you can upload a patch, if you want.

RyanJKoehler22 months ago

changed "Alternate" to "Alternative"

comment:4 RyanJKoehler22 months ago

  • Keywords has-patch added; needs-patch removed

comment:5 SergeyBiryukov22 months ago

  • Milestone changed from Awaiting Review to 3.5

comment:6 ryan20 months ago

It also means "A person who acts as a deputy or substitute" which is obviously the meaning intended when the specs used to say "alternate text" everywhere.


These days the specs like to say "text alternatives". Of course this is UI, not a spec, so we don't have to use the same language. So, yeah.

comment:7 alecrust20 months ago

I believe that usage of the word "alternate" is American-English specific and therefore not appropriately universal. Perhaps that's why they no longer use it that way in the spec.

Last edited 19 months ago by alecrust (previous) (diff)

comment:8 lessbloat19 months ago

Looks good. Ready for commit.

comment:9 helenyhou19 months ago

  • Keywords commit added

comment:10 nacin19 months ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [21917]:

It is 'Alternative Text', not 'Alternate Text'. props alecrust, RyanJKoehler. fixes #21176.

SergeyBiryukov17 months ago

comment:11 SergeyBiryukov17 months ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

mikehansenme17 months ago

comment:12 mikehansenme17 months ago

My bad just realized there was an updated patch... ignore mine.

comment:13 nacin17 months ago

Ah yes, we fixed this in wp-langs.php for non-English, but not wp-langs-en.js.

comment:14 nacin17 months ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 22996:

Alternative Text, not Alternate Text. props SergeyBiryukov. fixes #21176.

Note: See TracTickets for help on using tickets.