Make WordPress Core


Ignore:
Timestamp:
06/24/2023 02:30:31 PM (19 months ago)
Author:
joedolson
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/edit.css

    r54220 r56018  
    10691069}
    10701070
     1071#postcustom #postcustomstuff .add-custom-field {
     1072    padding: 12px 8px 8px;
     1073}
     1074
    10711075#side-sortables #postcustom #postcustomstuff .submit {
    10721076    margin: 0;
     
    11191123}
    11201124
    1121 #postcustomstuff #newmetaleft a {
     1125#postcustomstuff #newmetaleft a,
     1126#postcustomstuff #newmeta-button {
    11221127    display: inline-block;
    11231128    margin: 0 8px 8px;
Note: See TracChangeset for help on using the changeset viewer.