[wp-trac] [WordPress Trac] #30297: Notice for missing HTTP_USER_AGENT in get_calendar

WordPress Trac noreply at wordpress.org
Mon Sep 21 19:45:38 UTC 2015


#30297: Notice for missing HTTP_USER_AGENT in get_calendar
------------------------------------+--------------------------------------
 Reporter:  elusiveunit             |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  4.4
Component:  Widgets                 |     Version:  1.0
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  accessibility, template
------------------------------------+--------------------------------------

Comment (by elusiveunit):

 Yeah, I usually stay away from line breaks in attributes, but thought the
 title became clearer in this case. One could also use a line feed entity
 `
` to keep the source output prettier, if that's a concern.

 The spec mentions them and also advice caution:
 https://html.spec.whatwg.org/multipage/dom.html#the-title-attribute

 A quick test shows that a title with enough lines will spill outside the
 screen in Firefox, while Chrome starts to position the tooltip towards the
 top if needed, so there's that as well.

 In the end, removing it would probably be fine, since it's pretty much an
 inaccessible, mouse-only attribute (?).

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


More information about the wp-trac mailing list