[wp-trac] [WordPress Trac] #38318: Tags meta box: add a `button` ARIA role to the tag cloud links
WordPress Trac
noreply at wordpress.org
Sat Oct 15 14:46:21 UTC 2016
#38318: Tags meta box: add a `button` ARIA role to the tag cloud links
---------------------------+-----------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Keywords: has-screenshots
Focuses: accessibility |
---------------------------+-----------------------------
See related #27555 and #26504.
For better accessibility, the tag cloud links in the Tags meta box should
be reported to assistive technologies as buttons.
[[Image(https://cldup.com/dFlg4jbxFV.png)]]
They're not real links because activating them doesn't navigate to a new
resource, instead it performs an action. The tag cloud is printed out in
different contexts though so the ARIA role should be added just on the
Tags meta box. I'd propose to check for the links `href` attribute, when
it is set to `#`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38318>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list