[wp-trac] [WordPress Trac] #24766: Title attributes galore. They serve no useful purpose.
WordPress Trac
noreply at wordpress.org
Fri Jan 24 22:58:47 UTC 2025
#24766: Title attributes galore. They serve no useful purpose.
-------------------------------------------------+-------------------------
Reporter: karlgroves | Owner:
| sabernhardt
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 6.8
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: title-attribute a11y-task has-patch | Focuses: ui,
| accessibility
-------------------------------------------------+-------------------------
Comment (by audrasjb):
In [changeset:"59703" 59703]:
{{{
#!CommitTicketReference repository="" revision="59703"
Posts, Post Types: Remove `title` attribute from `the_shortlink()`.
Since [13683], `the_shortlink()` has included a `title` attribute. By
default, that gives the sanitized post title, and it does not sanitize
custom text. Given the low value of this attribute, this changeset removes
it.
Props sabernhardt, audrasjb, joedolson.
Fixes #62838.
See #24766.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24766#comment:82>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list