[wp-meta] [Making WordPress.org] #6173: Add ALT text field to upload form

Making WordPress.org noreply at wordpress.org
Fri Apr 14 19:45:52 UTC 2023


#6173: Add ALT text field to upload form
-----------------------------+---------------------
 Reporter:  alexstine        |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:
Component:  Photo Directory  |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+---------------------

Comment (by joedolson):

 @alexstine Using aria-describedby for the link purpose puts the link
 purpose at the end of the reading text, since that will be read second;
 and also could be a poor option for VoiceOver users. So I'd be hesitant
 about that. Using aria-labelledby will be read as two successive but equal
 statements, which seems better; and having the link purpose first is
 preferable both to convey what the link does and to get the consistent and
 shorter link out of the way first.

 @coffee2code I agree that hiding the label 'alternative text' makes sense.
 Otherwise, that sounds good.

 I put up a codepen of this, and can confirm that the figcaption is still
 read, so we still have the duplication problem. We may be overthinking
 this.

 The figure/figcaption relationship makes sense if we think of the alt text
 as a caption; but as we've already established, it's not a caption: it's a
 visual display of the alt text for the image. We could probably do away
 with the figure/figcaption entirely, in which case we no longer have the
 problem with reading the figcaption content as part of the figure. I'm
 going to create a couple of relevant codepens for testing different
 options.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6173#comment:28>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list