[wp-trac] [WordPress Trac] #39952: Category Dropdown Widget: required spacing issue on attachments template

WordPress Trac noreply at wordpress.org
Sat Dec 19 21:05:54 UTC 2020


#39952: Category Dropdown Widget: required spacing issue on attachments template
-------------------------------+------------------------------
 Reporter:  tribalNerd         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Widgets            |     Version:  4.7.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by sabernhardt):

 * component:  General => Widgets


Comment:

 The spacing issue may have been fixed by now; I don't see a problem with
 it on Twenty Ten's attachment page. If you still see the spacing problem,
 could you mention which theme you use?

 Default category dropdown:
 `<select  name='cat' id='cat' class='postform' >`

 Category dropdown after applying filter:
 `<select required name='cat' id='cat' class='postform' >`

 The `required` attribute does not have the equal sign in the markup, but
 it does appear as `required=""` when inspecting the element within the
 browser.

 Support should be better now for the required attribute, though the `aria-
 required` attribute could be good to add anyway.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39952#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list