[wp-trac] [WordPress Trac] #40747: Semantic elements for non-link links: theme-install.php
WordPress Trac
noreply at wordpress.org
Fri May 12 16:54:30 UTC 2017
#40747: Semantic elements for non-link links: theme-install.php
----------------------------+-----------------------------
Reporter: Cheffheid | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: normal | Keywords:
Focuses: accessibility |
----------------------------+-----------------------------
The filters on the theme install page (Featured, Popular, Latest,
Favorites) are currently marked up with anchor tags, but they should be
marked up with buttons.
A downside to doing so is that the focus styles persist when the buttons
are clicked, which may not look great.
Attached first pass patch removes the outline on focus for browsers that
add one by default (Chrome, IE11, Edge, possibly Safari) to minimize the
effect, but would definitely appreciate some help in coming up with a good
solution for it instead.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40747>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list