[wp-trac] [WordPress Trac] #40375: ADMIN
WordPress Trac
noreply at wordpress.org
Fri Apr 7 03:54:02 UTC 2017
#40375: ADMIN
-------------------------+-------------------------------------------------
Reporter: adminhoang | Owner:
Type: defect | Status: new
(bug) | Milestone: Awaiting Review
Priority: normal | Version: trunk
Component: General | Resolution:
Severity: normal | Focuses: javascript, docs, administration,
Keywords: | template, performance
-------------------------+-------------------------------------------------
Changes (by adminhoang):
* focuses: => javascript, docs, administration, template, performance
Comment:
Replying to [ticket:40375 adminhoang]:
> /*
> 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#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list