[wp-trac] [WordPress Trac] #35313: Remove title attributes: Posts, Pages, and CPTs screens
WordPress Trac
noreply at wordpress.org
Tue Jan 5 00:44:18 UTC 2016
#35313: Remove title attributes: Posts, Pages, and CPTs screens
-------------------------------+-----------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Administration | Version: 4.4
Severity: normal | Keywords:
Focuses: ui, accessibility |
-------------------------------+-----------------
See related #24766 and all the following tickets about title attributes.
In `edit.php`, the item title link and the action links have title
attributes that mostly repeat the information already provided by the
links.
Title attributes that say "this item" don't help so much sighted users
since they can actually see what item these links refers to. On the other
hand, for accessibility these links should provide more information and
make sense even when read out of context.
[[Image(https://cldup.com/--PeMMzG7b.png)]]
I'd propose to simply remove all the title attributes and use `aria-label`
attributes as done for other similar screens (e.g. Plugins).
A special case in these screens is the Published date: in the "List View"
there's an abbreviation with a title attribute that repeats the date and
adds the time. In the "Excerpt View", the time is displayed in plain text
next to the date. Pages don't have the "Excerpt View".
[[Image(https://cldup.com/ewptMGK9HM.png)]]
Worth reminding title attributes on not-focusable elements won't be
announced by screen readers. Please also consider touch devices, tablet,
smartphones, where title attributes are hardly useful.
If the published time is a relevant information, I'd say it should be
displayed in plain text. [https://www.paciellogroup.com/blog/2013/01
/using-the-html-title-attribute-updated/ Title attributes are the best way
to hide content from users] :)
By the way, I guess this would need some discussion so I'll open a
separate ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35313>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list