[wp-trac] [WordPress Trac] #36735: Add media, insert from URL and alt attribute
WordPress Trac
noreply at wordpress.org
Wed May 18 13:50:22 UTC 2016
#36735: Add media, insert from URL and alt attribute
--------------------------------------+------------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses: accessibility
--------------------------------------+------------------------------
Comment (by cgrymala):
Replying to [comment:3 ambrosey]:
> However, now the alt tag that comes through is picking up props.title
which is defaulting to the URL being pulled
>
> I don't think that is what the behavior '''should be''', but I don't
understand what the intent is for the alt to pick up in this case.
It's definitely not ideal, from an accessibility standpoint, but, it does
appear to be consistent with the way other "Insert Media" events occur.
Currently, WordPress is set up to look at the alt field first, then
fallback to the title or caption to use as the alt attribute for the image
if the alt field is blank.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36735#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list