Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#40375 closed defect (bug) (invalid)

ADMIN

Reported by: adminhoang's profile adminhoang Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.8
Component: General Keywords:
Focuses: administration Cc:

Description (last modified by SergeyBiryukov)

/* 
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) "]";
}

Attachments (1)

TracChangeset.txt (4.9 KB) - added by adminhoang 8 years ago.
Trac Changeset Module

Download all attachments as: .zip

Change History (5)

@adminhoang
8 years ago

Trac Changeset Module

#1 in reply to: ↑ description @adminhoang
8 years ago

  • Focuses javascript docs administration template performance added

Replying to 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) "]";
}
Last edited 8 years ago by SergeyBiryukov (previous) (diff)

#2 in reply to: ↑ description @adminhoang
8 years ago

Replying to 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)?";

}

Version 0, edited 8 years ago by adminhoang (next)

#3 @SergeyBiryukov
8 years ago

  • Description modified (diff)
  • Focuses javascript docs template performance removed

Hi @adminhoang, welcome to WordPress Trac!

This Trac is used for enhancements and bug reporting for the WordPress core software.

Could you clarify what you are trying to do?

#4 @johnbillion
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.