Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#21176 closed defect (bug) (fixed)

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

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

Description

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 14 years ago.
changed "Alternate" to "Alternative"
21176.2.diff (377 bytes ) - added by SergeyBiryukov 14 years ago.
21176.2.2.diff (372 bytes ) - added by mikehansenme 14 years ago.

Download all attachments as: .zip

Change History (17)

#1 @SergeyBiryukov
14 years 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".

#2 @alecrust
14 years 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?

#3 @scribu
14 years ago

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

@RyanJKoehler
14 years ago

changed "Alternate" to "Alternative"

#4 @RyanJKoehler
14 years ago

  • Keywords has-patch added; needs-patch removed

#5 @SergeyBiryukov
14 years ago

  • Milestone Awaiting Review3.5

#6 @ryan
14 years 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.

http://www.w3.org/TR/REC-html40/struct/objects.html#h-13.8

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.

#7 @alecrust
14 years 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 14 years ago by alecrust (previous) (diff)

#8 @lessbloat
14 years ago

Looks good. Ready for commit.

#9 @helenyhou
14 years ago

  • Keywords commit added

#10 @nacin
14 years ago

  • Owner set to nacin
  • Resolutionfixed
  • Status newclosed

In [21917]:

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

#11 @SergeyBiryukov
14 years ago

  • Resolution fixed
  • Status closedreopened

#12 @mikehansenme
14 years ago

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

#13 @nacin
14 years ago

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

#14 @nacin
14 years ago

  • Resolutionfixed
  • Status reopenedclosed

In 22996:

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

Note: See TracTickets for help on using tickets.