Media: Change upload button to a file input for better e2e targeting.
Changes the media library upload button to `input type="file"` for better end to end testing capabilities. Props justinahinon, joedolson, sabernhardt, audrasjb. Fixes #54168. Built from https://develop.svn.wordpress.org/trunk@52059 git-svn-id: http://core.svn.wordpress.org/trunk@51651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -134,6 +134,9 @@ TABLE OF CONTENTS:
|
||||
color: #0a4b78;
|
||||
}
|
||||
|
||||
/* Support focus state on label designed as button in media uploader. */
|
||||
.drag-drop-inside p.drag-drop-buttons:focus-within label.button,
|
||||
.uploader-inline-content div.browser-container:focus-within label.button,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
|
||||
Reference in New Issue
Block a user