#7090 closed enhancement (fixed)
Accessibility: Remove redundant `title` attributes
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | has-patch has-screenshots commit |
Cc: |
Description
"For users of assistive technologies, the title attribute is useless at best and sometimes an annoyance. Users of text-to-speech software who have configured their software to do so will hear the title attribute twice. Essentially the extensive use of title attributes throughout Wordpress Core amounts to unnecessary code bloat." ~ Karl Groves
See WP#24766 which started the ball rolling in the removal of title
attributes from within the WordPress admin and from the latest WP Default themes.
Upcoming patch removes the following title
attributes:
title="Create a Group"
for: Create a Grouptitle="Join Group"
for: Join Grouptitle="Leave Group"
for: Leave Grouptitle="Request Membership"
for: Request Membershiptitle="Request Sent"
for: Request Senttitle="Accept Invitation"
for: Accept Invitationtitle="Delete Group Profile Photo"
for: Delete Group Profile Phototitle="Delete Cover Image"
for: Delete Group Cover Imagetitle="Kick and Ban this member"
for: Kick and Bantitle="Promote to Mod"
for: Promote to Modtitle="Promote to Admin"
for: Promote to Admintitle="Remove this member"
for: Remove from grouptitle="New Topic"
for: New Topic
title="Accept"
for: Accepttitle="Reject"
for: Recenttitle="Add Friend"
for: Add Friendtitle="Cancel Friendship Request"
for: Cancel Friendship Requesttitle="Cancel Friendship Requested"
for: Cancel Friendshiptitle="Friendship Requested"
for: Friendship Requestedtitle="Delete Profile Photo"
for: Delete My Profile Phototitle="Delete Cover Image"
for: Delete My Cover Imagetitle="Edit Profile"
for: Edit Profiletitle="Mark as Favorite"
for: Favoritetitle="Remove Favorite"
for: Remove Favoritetitle="View Message"
for: View Messagetitle="This field's visibility cannot be changed."
for: text which is not a link in the Settings > Profile Visibility screentitle="Send a Public Message on your Activity Stream"
for: Public Messagetitle="Send a Private Message to this User"
for: Private Message
title="The public activity for Everyone on this site"
for Sitewide Activity navigation: All Memberstitle="The activity of my friends only"
for Sitewide Activity navigation: My Friendstitle="The activity of groups I am a member of"
for Sitewide Activity navigation: My Groupstitle="The activity I've marked as favorite"
for Sitewide Activity navigation: My Favoritestitle="Activity that I have been mentioned in"
for Sitewide Activity navigation: Mentionstitle="Create a Site"
for: Create a Sitetitle="Visit Site"
for: Visit Site
NOT included in the list above:
title="RSS Feed"
for: RSStitle="Star the first message in this thread"
for: the star icontitle="Remove all starred messages in this thread"
for: the star icontitle="View Discussion"
for: activity post timestamp a.k.a activity permalinktitle
attributes for all Avatars and member and group links, etc. -> separate trac tickettitle
attributes in BP wp-admin screens -> to be addressed in audit of BP admin screens
Patch coming up.
Attachments (2)
Change History (10)
#3
@
9 years ago
- Milestone changed from Awaiting Review to 2.7
@mercime Don't leave your own tickets in Awaiting Review when they're this straightforward. They miss releases. :)
#4
@
9 years ago
- Keywords commit added
@mercime I suggest you get this in as soon as possible - part of the patch already doesn't apply, but the bulk still does (just about!).
#6
@
9 years ago
- Owner set to mercime
- Resolution set to fixed
- Status changed from new to closed
In 10904:
#7
@
9 years ago
@mercime while it's true that the title attribute should never just be used to repeat stuff already conveyed in text, it is used where it helps to add additional detail to clarify, on that basis some instances such as activity in which I have been mentioned in
might help to expand on a possibly vague link text 'mentions'?
Most of these title examples are pretty redundant though!
#8
@
9 years ago
@hnla see https://buddypress.trac.wordpress.org/ticket/7188 to address additional details needed.
1st batch:

2nd batch:

3rd batch:
