#40747 closed enhancement (invalid)
Semantic elements for non-link links: theme-install.php
Reported by: | Cheffheid | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | semantic-buttons has-patch |
Focuses: | ui, accessibility | Cc: |
Description
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.
Attachments (1)
Change History (11)
This ticket was mentioned in Slack in #accessibility by afercia. View the logs.
8 years ago
#4
@
8 years ago
- Focuses ui added
- Milestone changed from Awaiting Review to Future Release
- Version trunk deleted
This ticket was mentioned in Slack in #accessibility by afercia. View the logs.
7 years ago
#6
@
7 years ago
Worth noting things have changed a bit and the theme browser has now implemented routing and browser history. DIscussed a bit during today's accessibility bug-scrub and agreed it needs to be re-evaluated.
#7
@
7 years ago
Oh, well, look at that. :)
This entire page gets disabled when there is no JavaScript, so is there value in changing the hash to something useful as a fallback (beyond these links not coming up in a href="#"
search anymore, that is)?
I would probably want to lean towards no and am fine with closing this. The links actually act a bit more like links now and so I think they're fine semantically.
(I'll set a reminder for the next bug scrub, too >.>)
First pass - changes anchors to buttons, updates CSS / JS selectors to include buttons.