[wp-trac] [WordPress Trac] #39909: Make title behaviours consistent across all widgets on first load

WordPress Trac noreply at wordpress.org
Thu May 18 23:10:17 UTC 2017


#39909: Make title behaviours consistent across all widgets on first load
-------------------------------------------------+-------------------------
 Reporter:  karmatosed                           |       Owner:
     Type:  enhancement                          |  westonruter
 Priority:  normal                               |      Status:  reopened
Component:  Widgets                              |   Milestone:  4.8
 Severity:  normal                               |     Version:  2.8
 Keywords:  has-screenshots 2nd-opinion a11y-    |  Resolution:
  placeholder needs-refresh needs-patch          |     Focuses:
                                                 |  accessibility
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * keywords:  has-patch has-screenshots 2nd-opinion a11y-placeholder needs-
     refresh => has-screenshots 2nd-opinion a11y-placeholder needs-refresh
     needs-patch


Comment:

 Something else that I realized is that the placeholder or default value
 would need to be obtained with the ''frontend'' locale active. Currently
 it is using the admin locale, and so this could lead to an unexpected
 value shown if the admin and frontend have different locales.

 And if we're not using `placeholder` either, it seems we need to revert
 this and revisit in the future. Nevertheless, the placeholder still seems
 like a better user experience (as opposed to default values) and
 reflective of the behavior of the behavior for an empty title on the
 frontend since they cannot be emptied.

 @afercia @flixos90 @karmatosed so, revert or amend?

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


More information about the wp-trac mailing list