#38671 closed defect (bug) (fixed)
Semantic elements for non-link links: async-upload.php
Reported by: | Cheffheid | Owned by: | afercia |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | semantic-buttons has-patch has-screenshots |
Focuses: | ui, accessibility, javascript | Cc: |
Attachments (8)
Change History (20)
#1
@
8 years ago
I'm dumb. Ignore the first patch, minimal style changes are needed to reposition the button to its correct place.
#2
@
8 years ago
To clarify, because I've made such a mess of these patches, I've uploaded two patches that work:
38671.4.patch: Assumes button-link
will do all the work (and it should when #35126 goes through)
38671.5.patch: Includes styles to make the button look like a link, in case #35126 takes longer than expected/takes a different direction/whatever.
This ticket was mentioned in Slack in #accessibility by afercia. View the logs.
8 years ago
This ticket was mentioned in Slack in #accessibility by afercia. View the logs.
7 years ago
#7
@
7 years ago
- Milestone changed from Future Release to 5.0
Moving to 5.0 for testing and visibility. A screenshot to clarify to everyone where this button is would be welcome :)
#8
@
7 years ago
- Keywords needs-refresh needs-screenshots added
Hello,
To clarify a bit what happens, here are the few steps to reproduce the issue:
- Go to
wp-admin/media-new.php
, then upload a file with a not supported MIME type. - The alert have a "Dismiss" link and it should be a button HTML element.
The patch works, however a type="button"
attribute is needed because this button is not related to a form or whatever.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type for further documentation.
markup update, no style changes