Opened 8 years ago
Closed 8 years ago
#38318 closed defect (bug) (fixed)
Tags meta box: add a `button` ARIA role to the tag cloud links
Reported by: | afercia | Owned by: | afercia |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | has-screenshots has-patch |
Focuses: | accessibility | Cc: |
Description
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.
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 #
.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
First patch. Setting milestone to 4.7 as this would be a nice addition to the improvements proposed in #27555.