[wp-trac] [WordPress Trac] #40375: ADMIN

WordPress Trac noreply at wordpress.org
Wed Apr 5 18:46:33 UTC 2017


#40375: ADMIN
--------------------------+-----------------------------
 Reporter:  adminhoang    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 /*
 Display [] by the item with the accesskey

 by Dan Rasmussen <http://danrasmussen.org>
 August 2008.

 Based on
 http://blog.andrewbeacock.com/2007/06/firefox-hack-to-display-
 accesskey.html

 I've modified the original to look (reasonably) good and be visible
 whether the background color of the web page is light or dark.

 Licensed under the Creative Commons Attribution 3.0 license:
 http://creativecommons.org/licenses/by/3.0/
 */

 a[accesskey]:after,
 button[accesskey]:after,
 input[accesskey]:after,
 label[accesskey]:after,
 legend[accesskey]:after,
 textarea[accesskey]:after {
     margin-left: 0.3em;
     background-color: black;
     color: white;
     font-size: 125%;
     padding: .125em .125em;
     content: "[" attr(accesskey) "]";
 }

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40375>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list