WordPress.org

Make WordPress Core

Changeset 25756


Ignore:
Timestamp:
10/10/2013 03:30:25 PM (8 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: a11y and RTL fixes for tabbed navigation and Skip to Content link. Props obenland, see #25054.

Location:
trunk/src/wp-content/themes/twentyfourteen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/rtl.css

    r25749 r25756  
    5252}
    5353
     54.screen-reader-text:focus {
     55    left: auto;
     56    right: 5px;
     57}
     58
    5459/* =Header
    5560----------------------------------------------- */
     
    101106.primary-navigation ul ul {
    102107    float: right;
    103     right: 0;
     108    right: -999em;
    104109    left: auto;
    105110}
    106111
    107112.primary-navigation ul ul ul {
     113    right: -999em;
     114    left: auto;
     115}
     116
     117
     118.primary-navigation ul li:hover > ul,
     119.primary-navigation ul li.focus > ul {
     120    right: auto;
     121}
     122
     123.primary-navigation ul ul li:hover > ul,
     124.primary-navigation ul ul li.focus > ul {
     125    left: auto;
    108126    right: 100%;
    109     left: auto;
    110127}
    111128
  • trunk/src/wp-content/themes/twentyfourteen/style.css

    r25754 r25756  
    430430    top: 5px;
    431431    text-decoration: none;
     432    text-transform: none;
    432433    width: auto;
    433434    z-index: 100000; /* Above WP toolbar */
     
    707708}
    708709.primary-navigation ul li:hover > ul,
    709 .primary-navigation ul li.a11y-focus > ul {
     710.primary-navigation ul li.focus > ul {
    710711    left: auto;
    711712}
    712713.primary-navigation ul ul li:hover > ul,
    713 .primary-navigation ul ul li.a11y-focus > ul {
     714.primary-navigation ul ul li.focus > ul {
    714715    left: 100%;
    715716}
Note: See TracChangeset for help on using the changeset viewer.