[wp-trac] [WordPress Trac] #26504: Semantic elements for non-link links
WordPress Trac
noreply at wordpress.org
Tue Dec 15 13:24:16 UTC 2015
#26504: Semantic elements for non-link links
----------------------------+--------------------------------------------
Reporter: GaryJ | Owner:
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Administration | Version: 3.8
Severity: normal | Resolution:
Keywords: | Focuses: ui, accessibility, javascript
----------------------------+--------------------------------------------
Comment (by afercia):
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/26504#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list