mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 05:10:18 +00:00
Editor: Improve accessibility of new custom field UI.
Add labels; change Enter new/Cancel link to a button; move focus to input when creating new field; move Add Custom Field out of fields table. Props jane, batmoo, karmatosed, franrosa, sabernhardt, annashopina, oglekler, joedolson. Fixes #15631. git-svn-id: https://develop.svn.wordpress.org/trunk@56018 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1068,6 +1068,10 @@ form#tags-filter {
|
||||
padding: 0 8px 8px;
|
||||
}
|
||||
|
||||
#postcustom #postcustomstuff .add-custom-field {
|
||||
padding: 12px 8px 8px;
|
||||
}
|
||||
|
||||
#side-sortables #postcustom #postcustomstuff .submit {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@@ -1118,7 +1122,8 @@ form#tags-filter {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#postcustomstuff #newmetaleft a {
|
||||
#postcustomstuff #newmetaleft a,
|
||||
#postcustomstuff #newmeta-button {
|
||||
display: inline-block;
|
||||
margin: 0 8px 8px;
|
||||
text-decoration: none;
|
||||
|
||||
Reference in New Issue
Block a user