[wp-trac] [WordPress Trac] #23362: Fields with HTML5 form validation constraints break post save UI

WordPress Trac noreply at wordpress.org
Fri Aug 2 00:18:47 UTC 2013


#23362: Fields with HTML5 form validation constraints break post save UI
-------------------------+------------------
 Reporter:  westonruter  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.7
Component:  Autosave     |     Version:  3.5
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------
Changes (by azaozz):

 * component:  Validation => Autosave
 * milestone:  Future Release => 3.7


Comment:

 This is a "cosmetic" error as the Save Draft/Publish buttons are not
 actually disabled until form.submit. They appear disabled because of the
 `button-disabled` class added onclick but clicking them will submit the
 form.

 Agree that this is quite confusing when the form submission is prevented.
 Not sure we ever need the `button-disabled` class in this case, think it's
 a left-over from IE6 that didn't support styling of disabled buttons if I
 remember correctly.

 Moving to the Autosave component as this is directly related.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/23362#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list