diff --git wordpress.org/public_html/style/wp4.css wordpress.org/public_html/style/wp4.css
index 352cf85d7..cc9a0fe4d 100644
|
|
sup { |
105 | 105 | word-wrap: normal !important; |
106 | 106 | } |
107 | 107 | |
| 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 | |
108 | 139 | /* =WordPress Core |
109 | 140 | -------------------------------------------------------------- */ |
110 | 141 | .alignnone { |
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(); |
3 | 3 | global $wporg_global_header_options; |
4 | 4 | if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) |
5 | 5 | $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>'; |
7 | 7 | require WPORGPATH . 'header.php'; |
8 | 8 | ?> |
9 | 9 | <header id="masthead" class="site-header" role="banner"> |
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 ) { |
30 | 30 | } ), |
31 | 31 | require( 'pixrem' ), |
32 | 32 | require('cssnano')({ |
33 | | mergeRules: false |
| 33 | mergeRules: false, |
| 34 | zindex: false |
34 | 35 | }) |
35 | 36 | ] |
36 | 37 | }, |
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
|
|
|
1 | 1 | <?php |
2 | 2 | $GLOBALS['pagetitle'] = wp_get_document_title(); |
| 3 | |
| 4 | global $wporg_global_header_options; |
| 5 | if ( !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 | |
3 | 9 | require( WPORGPATH . 'header.php' ); |
4 | 10 | ?> |
5 | 11 | |
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 ) { |
52 | 52 | } ), |
53 | 53 | require( 'pixrem' ), |
54 | 54 | require('cssnano')({ |
55 | | mergeRules: false |
| 55 | mergeRules: false, |
| 56 | zindex: false |
56 | 57 | }) |
57 | 58 | ] |
58 | 59 | }, |
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(); |
21 | 21 | global $wporg_global_header_options; |
22 | 22 | if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) |
23 | 23 | $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>'; |
25 | 25 | require WPORGPATH . 'header.php'; |
26 | 26 | ?> |
27 | 27 | <div id="page" class="site"> |
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(); |
3 | 3 | global $wporg_global_header_options; |
4 | 4 | if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) |
5 | 5 | $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>'; |
7 | 7 | |
8 | 8 | $prefix = is_ssl() ? 'https://' : 'http://s.'; |
9 | 9 | wp_enqueue_style( 'blog-wp4', $prefix.'wordpress.org/style/blog-wp4.css', array(), 4 ); |
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' ); |
188 | 188 | */ |
189 | 189 | function wporg_get_global_header() { |
190 | 190 | |
| 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 | |
191 | 196 | $GLOBALS['pagetitle'] = wp_title( '|', false, 'right' ); |
192 | 197 | // Suffix either "WordPress.org $LOCALE" or WordPress.org. |
193 | 198 | if ( isset( $GLOBALS['wporg_global_header_options']['rosetta_title'] ) ) { |
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( |
18 | 18 | _x( 'https://make.wordpress.org/support/handbook/', 'header menu', 'wporg-forums' ) => _x( 'Get Involved', 'header menu', 'wporg-forums' ), |
19 | 19 | ); |
20 | 20 | |
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>'; |
25 | 21 | wporg_get_global_header(); |
26 | 22 | ?> |
27 | 23 | |
28 | 24 | <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 | | |
31 | 25 | <div id="content" class="site-content"> |
32 | 26 | <header id="masthead" class="site-header <?php echo is_front_page() ? 'home' : ''; ?>" role="banner"> |
33 | 27 | <div class="site-branding"> |
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 { |
1150 | 1150 | } |
1151 | 1151 | } |
1152 | 1152 | } |
| 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 |
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 ) { |
31 | 31 | } ), |
32 | 32 | require( 'pixrem' ), |
33 | 33 | require('cssnano')({ |
34 | | mergeRules: false |
| 34 | mergeRules: false, |
| 35 | zindex: false |
35 | 36 | }) |
36 | 37 | ] |
37 | 38 | }, |
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(); |
9 | 9 | global $wporg_global_header_options; |
10 | 10 | if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) |
11 | 11 | $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>'; |
13 | 13 | |
14 | 14 | require WPORGPATH . 'header.php'; |
15 | 15 | ?> |
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
|
|
|
11 | 11 | |
12 | 12 | namespace WordPressdotorg\Theme; |
13 | 13 | |
| 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" tabindex="1" href="#masthead">' . esc_html__( 'Skip to content', 'wporg' ) . '</a>'; |
| 18 | |
14 | 19 | require WPORGPATH . '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
|
|
|
11 | 11 | |
12 | 12 | namespace WordPressdotorg\Theme; |
13 | 13 | |
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 | | |
19 | 14 | get_template_part( 'header', 'wporg' ); |
20 | 15 | ?> |
21 | 16 | <div id="page" class="site"> |