[wp-meta] [Making WordPress.org] #4091: Remove all title attributes from navigation menu

Making WordPress.org noreply at wordpress.org
Wed Jan 30 10:08:42 UTC 2019


#4091: Remove all title attributes from navigation menu
---------------------+-----------------------
 Reporter:  afercia  |       Owner:  (none)
     Type:  defect   |      Status:  reopened
 Priority:  normal   |   Milestone:
Component:  General  |  Resolution:
 Keywords:           |
---------------------+-----------------------

Comment (by glueckpress):

 Fixed it with CSS only:


 {{{
 #wporg-header ul li a:hover:after {
         background: rgba(200,200,200,.9);
         content: attr(data-title);
         color: #111;
         font-size: .9em;
         left: 0;
         line-height: 1.5;
         padding: 0 .25em;
         position: absolute;
         top: 3.5em;
         white-space: nowrap;
 }
 }}}

 Tooltip with default `title` attribute:

 [[Image(https://ucfcbd0c4da2e31bc3708661ff0d.dl.dropboxusercontent.com/cd/0/inline
 /AabLhkZe5lf8e-
 DUuXB_QPERENIlZJqYiWpPOwo8evCwjy9CUkyN8i94P1kKdXADVbn3W6flpc0bjTHNBKOJRd9PvmkooElo1WlvhWYSF20hBrnQ5Eyydq37KuR-
 Xg7q7Vc/file)]]

 Tooltip with `data-title` attribute:

 [[Image(https://ucb734d2b0848eccdc386b8be8a9.dl.dropboxusercontent.com/cd/0/inline
 /AaY3JBii5R0QG7bOQBh3gJroZLoSoq7e1q9l2FVGtf5BISCqaLkOvBLVxJKvel8lkKrZc9b-
 mu6ZLk0fbdEx9ZY32BbiFxVU_IWxPHEycAXTMYeyZE29-Lvs3UByhHigXsg/file#)]]

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4091#comment:15>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list