[wp-trac] [WordPress Trac] #34867: Introduce a CSS class which identifies elements that are either links or buttons depending on JS presence
WordPress Trac
noreply at wordpress.org
Tue Dec 15 13:24:18 UTC 2015
#34867: Introduce a CSS class which identifies elements that are either links or
buttons depending on JS presence
-------------------------------------+-------------------------------------
Reporter: mcapybara | Owner: afercia
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.5
Component: Administration | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: has-patch has- | Focuses: ui, accessibility,
screenshots | javascript
-------------------------------------+-------------------------------------
Changes (by afercia):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"35947"]:
{{{
#!CommitTicketReference repository="" revision="35947"
Accessibility: Add an ARIA role `button` to links that behave like buttons
when JavaScript is on.
Introduces a simple way to give a proper semantics of `button` to links
that behave
like UI controls when JavaScript is on and behave like actual links when
JavaScript
is off. First implementation on the Terms list table.
Patch prepared during WordCamp US 2015 Contributor Day.
Props mcapybara, garusky, takayukister.
See #26504.
Fixes #34867.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34867#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list