[glotpress-updates] [GlotPress] #383: Use <button>, not links
GlotPress
noreply at wordpress.org
Thu Dec 4 08:29:50 UTC 2014
#383: Use <button>, not links
---------------------------+-----------------------------
Reporter: GaryJ | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Accessibility | Version:
Keywords: needs-patch |
---------------------------+-----------------------------
The "Copy from original" and "Cancel" llnks are purely JavaScript-driven.
Semantically, and for accessibility purposes, they should be marked up as
<button>, even if they are then styled to look like plain links (though
that's not recommended). They would then inherit the native behaviours of
buttons, and default behaviour of links won't have to be prevented.
See https://core.trac.wordpress.org/ticket/26504 for an equivalent ticket
for WP with expanded reasoning and discussion.
--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/383>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'
More information about the glotpress-updates
mailing list