[wp-trac] [WordPress Trac] #28853: Remove title attribute for plugin action links; add screen-reader-text

WordPress Trac noreply at wordpress.org
Wed Aug 6 18:24:26 UTC 2014


#28853: Remove title attribute for plugin action links; add screen-reader-text
--------------------------+--------------------------------------------
 Reporter:  joedolson     |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.0
Component:  Plugins       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  accessibility, administration
--------------------------+--------------------------------------------

Comment (by joedolson):

 {{{aria-label}}} allows you to more easily customize the translations,
 definitely, because it doesn't require using a pair of IDs sequentially to
 string texts together.

 {{{aria-labelledby}}} would require an ID pointing at the action text
 (e.g. "Update") and a separate ID pointing to the title of the plug-in,
 but wouldn't allow easy flexibility in word order for different languages.

 I'd recommend going the {{{aria-label}}} route.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28853#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list