[wp-trac] [WordPress Trac] #64501: Consider leaving title field blank as default for images in library
WordPress Trac
noreply at wordpress.org
Wed Jan 21 16:17:16 UTC 2026
#64501: Consider leaving title field blank as default for images in library
-------------------------+------------------------------
Reporter: drw158 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.9
Severity: normal | Resolution:
Keywords: close | Focuses: accessibility
-------------------------+------------------------------
Changes (by sabernhardt):
* keywords: => close
Comment:
Populating the Title field is necessary.
If attachment pages are enabled, the Title field is important for use in
the page's `<title>` element.
64501.diff creates errors when uploading because then the `$title`
variable is undefined. If that line sets `$title` to an empty string
instead, the list view of the Media Library would have "(no title)" as the
link text for every image uploaded after the change.
The image's Title field is not the same as a `title` attribute. I'm aware
that the Avada theme and WPBakery Page Builder plugin can add `title`
attributes to images on the front end from the Title field, but that is
not core usage.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64501#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list