[wp-trac] [WordPress Trac] #62835: Remove title attributes from author link functions
WordPress Trac
noreply at wordpress.org
Tue Mar 4 22:35:46 UTC 2025
#62835: Remove title attributes from author link functions
-------------------------------------------------+-------------------------
Reporter: sabernhardt | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.8
Component: Users | Version:
Severity: normal | Resolution:
Keywords: title-attribute has-patch has-unit- | Focuses:
tests | accessibility
-------------------------------------------------+-------------------------
Comment (by joedolson):
I think option 2 makes the most sense, as well. I'm not thrilled about
still using the title attribute to differentiate between these, since it's
such a low priority marker. While it *technically* provides a difference
between the links, it'll only be perceivable to a small percentage of
users.
But adding an `aria-label` would mean that the difference is perceivable
to all screen reader users, but to no one else, and would cause some
problems for voice command.
Given that the best option right now is for authors to not use
`the_author_link()`, so that they can customize the link text, I feel like
allowing authors to set the existing title attribute as the link text
would be a good fallback.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62835#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list