[wp-trac] [WordPress Trac] #25940: CSS Selector Causing Issues

WordPress Trac noreply at wordpress.org
Wed Nov 13 16:21:20 UTC 2013


#25940: CSS Selector Causing Issues
--------------------------+-----------------------------
 Reporter:  dovyp         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Inside /wp-admin/css/wp-admin-rtl.min.cs is the following class:

 .screen-reader-text,.screen-reader-text span,.ui-helper-hidden-accessible{
     position:absolute;
     left:-1000em;
     top:-1000em;
     height:1px;
     width:1px;
     overflow:hidden
 }

 Having the .ui-helper-hidden-accessible specified without a .screen-
 reader-text causes problems for others trying to use the button_set from
 Wordpress UI.

 Easy fix is to change the above to:
 .screen-reader-text,.screen-reader-text span,.screen-reader-text .ui-
 helper-hidden-accessible{
     position:absolute;
     left:-1000em;
     top:-1000em;
     height:1px;
     width:1px;
     overflow:hidden
 }

 Or something along those lines. It needs a prefix or an alternate class to
 not conflict.

 The effect is with button_bar/button_set scrolling to the top of the page
 after each click.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25940>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list