Making WordPress.org

Ticket #4109: 4109.diff

File 4109.diff, 11.8 KB (added by dufresnesteven, 5 years ago)
  • wordpress.org/public_html/style/wp4.css

    diff --git wordpress.org/public_html/style/wp4.css wordpress.org/public_html/style/wp4.css
    index 352cf85d7..cc9a0fe4d 100644
    sup { 
    105105        word-wrap: normal !important;
    106106}
    107107
     108/* Override Screen Reader Test - This is from wporg base */
     109.screen-reader-text {
     110        clip: rect(1px,1px,1px,1px);
     111    height: 1px;
     112    overflow: hidden;
     113    position: absolute!important;
     114        width: 1px;
     115}
     116
     117.screen-reader-text:focus {
     118        background-color: #f1f1f1;
     119    -webkit-border-radius: 3px;
     120    border-radius: 3px;
     121    -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
     122    box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
     123    clip: auto!important;
     124    color: #21759b;
     125    display: block;
     126    font-size: 14px;
     127    font-size: .875rem;
     128    font-weight: 700;
     129    height: auto;
     130    left: 5px;
     131    line-height: normal;
     132    padding: 15px 23px 14px;
     133    text-decoration: none;
     134    top: 5px;
     135    width: auto;
     136    z-index: 100000;
     137}
     138
    108139/* =WordPress Core
    109140-------------------------------------------------------------- */
    110141.alignnone {
  • wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/header.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/header.php wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/header.php
    index 9e061ccda..7bbd805f6 100644
    $GLOBALS['pagetitle'] = wp_get_document_title(); 
    33global $wporg_global_header_options;
    44if ( !isset( $wporg_global_header_options['in_wrapper'] ) )
    55        $wporg_global_header_options['in_wrapper'] = '';
    6 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html__( 'Skip to content', 'wporg' ) . '</a>';
     6$wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" tabindex="1" href="#content">' . esc_html__( 'Skip to content', 'wporg' ) . '</a>';
    77require WPORGPATH . 'header.php';
    88?>
    99<header id="masthead" class="site-header" role="banner">
  • wordpress.org/public_html/wp-content/themes/pub/wporg-main/Gruntfile.js

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-main/Gruntfile.js wordpress.org/public_html/wp-content/themes/pub/wporg-main/Gruntfile.js
    index ef6aef9a9..ee2519b7b 100644
    module.exports = function( grunt ) { 
    3030                                        } ),
    3131                                        require( 'pixrem' ),
    3232                                        require('cssnano')({
    33                                                 mergeRules: false
     33                                                mergeRules: false,
     34                                                zindex: false
    3435                                        })
    3536                                ]
    3637                        },
  • wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/header.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/header.php wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/header.php
    index bd58fad12..38a7c9957 100644
     
    11<?php
    22$GLOBALS['pagetitle'] = wp_get_document_title();
     3
     4global $wporg_global_header_options;
     5if ( !isset( $wporg_global_header_options['in_wrapper'] ) )
     6        $wporg_global_header_options['in_wrapper'] = '';
     7$wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" tabindex="1" href="#headline">' . esc_html__( 'Skip to content', 'wporg-themes' ) . '</a>';
     8
    39require( WPORGPATH . 'header.php' );
    410?>
    511
  • wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/Gruntfile.js

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/Gruntfile.js wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/Gruntfile.js
    index ad7cd22a4..6ffc96478 100644
    module.exports = function( grunt ) { 
    5252                                        } ),
    5353                                        require( 'pixrem' ),
    5454                                        require('cssnano')({
    55                                                 mergeRules: false
     55                                                mergeRules: false,
     56                                                zindex: false
    5657                                        })
    5758                                ]
    5859                        },
  • wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php
    index fc04e3c69..51a738a5d 100644
    $GLOBALS['pagetitle'] = wp_get_document_title(); 
    2121global $wporg_global_header_options;
    2222if ( !isset( $wporg_global_header_options['in_wrapper'] ) )
    2323        $wporg_global_header_options['in_wrapper'] = '';
    24 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#main">' . esc_html__( 'Skip to content', 'wporg-plugins' ) . '</a>';
     24$wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" tabindex="1" href="#main">' . esc_html__( 'Skip to content', 'wporg-plugins' ) . '</a>';
    2525require WPORGPATH . 'header.php';
    2626?>
    2727<div id="page" class="site">
  • wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/header.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/header.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/header.php
    index 9c2acd1d6..a49e907a4 100644
    $GLOBALS['pagetitle'] = wp_get_document_title(); 
    33global $wporg_global_header_options;
    44if ( !isset( $wporg_global_header_options['in_wrapper'] ) )
    55        $wporg_global_header_options['in_wrapper'] = '';
    6 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#pagebody">' . esc_html__( 'Skip to content', 'wporg-showcase' ) . '</a>';
     6$wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" tabindex="1" href="#pagebody">' . esc_html__( 'Skip to content', 'wporg-showcase' ) . '</a>';
    77
    88$prefix = is_ssl() ? 'https://' : 'http://s.';
    99wp_enqueue_style( 'blog-wp4', $prefix.'wordpress.org/style/blog-wp4.css', array(), 4 );
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
    index 742542ead..608672844 100644
    add_filter( 'excerpt_length', 'wporg_support_excerpt_length' ); 
    188188 */
    189189function wporg_get_global_header() {
    190190
     191        global $wporg_global_header_options;
     192        if ( !isset( $wporg_global_header_options['in_wrapper'] ) )
     193                $wporg_global_header_options['in_wrapper'] = '';
     194        $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" tabindex="1" href="#content">' . esc_html__( 'Skip to content', 'wporg-forums' ) . '</a>';
     195
    191196        $GLOBALS['pagetitle'] = wp_title( '&#124;', false, 'right' );
    192197        // Suffix either "WordPress.org $LOCALE" or WordPress.org.
    193198        if ( isset( $GLOBALS['wporg_global_header_options']['rosetta_title'] ) ) {
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/header.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-support/header.php wordpress.org/public_html/wp-content/themes/pub/wporg-support/header.php
    index c3e924364..bbe1eb276 100644
    $menu_items = array( 
    1818        _x( 'https://make.wordpress.org/support/handbook/', 'header menu', 'wporg-forums' ) => _x( 'Get Involved', 'header menu', 'wporg-forums' ),
    1919);
    2020
    21 global $wporg_global_header_options;
    22 if ( !isset( $wporg_global_header_options['in_wrapper'] ) )
    23         $wporg_global_header_options['in_wrapper'] = '';
    24 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html__( 'Skip to content', 'wporg-forums' ) . '</a>';
    2521wporg_get_global_header();
    2622?>
    2723
    2824<div id="page" class="site">
    29         <a class="skip-link screen-reader-text" href="#main"><?php esc_html_e( 'Skip to content', 'wporg-forums' ); ?></a>
    30 
    3125        <div id="content" class="site-content">
    3226                <header id="masthead" class="site-header <?php echo is_front_page() ? 'home' : ''; ?>" role="banner">
    3327                        <div class="site-branding">
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/site/_bbpress.scss

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/site/_bbpress.scss wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/site/_bbpress.scss
    index 1ae7f7444..3ff60e781 100644
    div.bbp-breadcrumb { 
    11501150                }
    11511151        }
    11521152}
     1153
     1154/*--------------------------------------------------------------
     1155# Generic Overrides /
     1156--------------------------------------------------------------*/
     1157
     1158//Conflicting with wporg accesibility skip links
     1159.screen-reader-text {
     1160        -webkit-clip-path: none;
     1161        clip-path: none;
     1162}
     1163 No newline at end of file
  • wordpress.org/public_html/wp-content/themes/pub/wporg-themes/Gruntfile.js

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-themes/Gruntfile.js wordpress.org/public_html/wp-content/themes/pub/wporg-themes/Gruntfile.js
    index 5b948abce..da1805900 100644
    module.exports = function( grunt ) { 
    3131                                        } ),
    3232                                        require( 'pixrem' ),
    3333                                        require('cssnano')({
    34                                                 mergeRules: false
     34                                                mergeRules: false,
     35                                                zindex: false
    3536                                        })
    3637                                ]
    3738                        },
  • wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php
    index d4e34de58..838442f1d 100644
    $GLOBALS['pagetitle'] = wp_get_document_title(); 
    99global $wporg_global_header_options;
    1010if ( !isset( $wporg_global_header_options['in_wrapper'] ) )
    1111        $wporg_global_header_options['in_wrapper'] = '';
    12 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#themes">' . esc_html__( 'Skip to content', 'wporg-themes' ) . '</a>';
     12$wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" tabindex="1" href="#themes">' . esc_html__( 'Skip to content', 'wporg-themes' ) . '</a>';
    1313
    1414require WPORGPATH . 'header.php';
    1515?>
  • wordpress.org/public_html/wp-content/themes/pub/wporg/header-wporg.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg/header-wporg.php wordpress.org/public_html/wp-content/themes/pub/wporg/header-wporg.php
    index b5c059338..c656a70ef 100644
     
    1111
    1212namespace WordPressdotorg\Theme;
    1313
     14global $wporg_global_header_options;
     15if ( !isset( $wporg_global_header_options['in_wrapper'] ) )
     16        $wporg_global_header_options['in_wrapper'] = '';
     17$wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" tabindex="1" href="#masthead">' . esc_html__( 'Skip to content', 'wporg' ) . '</a>';
     18
    1419require WPORGPATH . 'header.php';
  • wordpress.org/public_html/wp-content/themes/pub/wporg/header.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg/header.php wordpress.org/public_html/wp-content/themes/pub/wporg/header.php
    index 38ec122fb..e8618cc05 100644
     
    1111
    1212namespace WordPressdotorg\Theme;
    1313
    14 global $wporg_global_header_options;
    15 if ( !isset( $wporg_global_header_options['in_wrapper'] ) )
    16         $wporg_global_header_options['in_wrapper'] = '';
    17 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html__( 'Skip to content', 'wporg' ) . '</a>';
    18 
    1914get_template_part( 'header', 'wporg' );
    2015?>
    2116<div id="page" class="site">