[wp-trac] [WordPress Trac] #35198: Adding this Widget and selecting "Display as Dropdown" will show the word Categories twice

WordPress Trac noreply at wordpress.org
Thu May 19 10:23:51 UTC 2016


#35198: Adding this Widget and selecting "Display as Dropdown" will show the word
Categories twice
--------------------------+------------------------------
 Reporter:  myBCN         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Widgets       |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:  accessibility
--------------------------+------------------------------

Comment (by jeffmcneill):

 Ok, great. I dutifully added this CSS and looks like it works. @myBCN
 please try as well.


 {{{
 .screen-reader-text {
     clip: rect(1px, 1px, 1px, 1px);
     position: absolute !important;
     height: 1px;
     width: 1px;
     overflow: hidden;
 }
 .screen-reader-text:focus {
     clip: auto !important;
     display: block;
     height: auto;
     left: 5px;
     top: 5px;
     width: auto;
     z-index: 100000; /* Above WP toolbar. */
 }
 }}}

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


More information about the wp-trac mailing list