Making WordPress.org


Ignore:
Timestamp:
06/29/2018 08:57:02 PM (6 years ago)
Author:
obenland
Message:

Main: phpcs updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-accessibility.php

    r7294 r7350  
    2323} );
    2424
    25 // See inc/page-meta-descriptions.php for the meta description for this page.
     25/* See inc/page-meta-descriptions.php for the meta description for this page. */
    2626
    2727get_header( 'child-page' );
     
    3939                <section class="col-8">
    4040
    41                     <p><?php _e( 'The WordPress community and the open source WordPress project is committed to being as inclusive and accessible as possible. We want users, regardless of device or ability, to be able to publish content and maintain a website or application built with WordPress.', 'wporg' ); ?></p>
     41                    <p><?php esc_html_e( 'The WordPress community and the open source WordPress project is committed to being as inclusive and accessible as possible. We want users, regardless of device or ability, to be able to publish content and maintain a website or application built with WordPress.', 'wporg' ); ?></p>
    4242
    43                     <p><?php _e( 'WordPress aims to make the WordPress Admin and bundled themes fully WCAG 2.0 AA compliant where possible.', 'wporg' ); ?></p>
    44                     <p><?php
    45                         /* translators: 1: Link to the Core Handbook Accessibility Standards; 2: Link to Core Trac Accessibility focus. */
     43                    <p><?php esc_html_e( 'WordPress aims to make the WordPress Admin and bundled themes fully WCAG 2.0 AA compliant where possible.', 'wporg' ); ?></p>
     44                    <p>
     45                    <?php
    4646                        printf(
    47                             __( 'All new and updated code released in WordPress must conform with these guidelines as per the <a href="%1$s">WordPress Accessibility Coding Standards</a>. Some current features and functionality in development may not yet fully comply, and known issues are listed in the <a href="%2$s">WordPress Trac &#8220;accessibility&#8221; focus</a>.', 'wporg' ),
     47                            /* translators: 1: Link to the Core Handbook Accessibility Standards; 2: Link to Core Trac Accessibility focus. */
     48                            wp_kses_post( __( 'All new and updated code released in WordPress must conform with these guidelines as per the <a href="%1$s">WordPress Accessibility Coding Standards</a>. Some current features and functionality in development may not yet fully comply, and known issues are listed in the <a href="%2$s">WordPress Trac &#8220;accessibility&#8221; focus</a>.', 'wporg' ) ),
    4849                            'https://make.wordpress.org/core/handbook/best-practices/coding-standards/accessibility-coding-standards/',
    4950                            'https://core.trac.wordpress.org/focus/accessibility'
    5051                        );
    51                     ?></p>
     52                    ?>
     53                    </p>
    5254
    53                     <p><?php
    54                         /* translators: 1: Link to the Theme Directory Accessible Themes; 2: Link to Accessibility Handbook requirements. */
     55                    <p>
     56                    <?php
    5557                        printf(
    56                             __( 'While the WordPress project cannot guarantee that all Themes are compliant, the <a href="%1$s">accessibility-ready themes</a> have been checked by the Theme Review Team to ensure that these themes pass their <a href="%2$s">basic accessibility requirements</a>.', 'wporg' ),
    57                             site_url( '/themes/tags/accessibility-ready/' ),
     58                            /* translators: 1: Link to the Theme Directory Accessible Themes; 2: Link to Accessibility Handbook requirements. */
     59                            wp_kses_post( __( 'While the WordPress project cannot guarantee that all Themes are compliant, the <a href="%1$s">accessibility-ready themes</a> have been checked by the Theme Review Team to ensure that these themes pass their <a href="%2$s">basic accessibility requirements</a>.', 'wporg' ) ),
     60                            esc_url( site_url( '/themes/tags/accessibility-ready/' ) ),
    5861                            'https://make.wordpress.org/themes/handbook/review/accessibility/required/'
    5962                        );
    60                     ?></p>
     63                    ?>
     64                    </p>
    6165
    62                     <h3><?php _e( 'The Accessibility Team', 'wporg' ); ?></h3>
    63                     <p><?php
    64                         /* translators: %s: Link to the Accessibility team P2 */
     66                    <h3><?php esc_html_e( 'The Accessibility Team', 'wporg' ); ?></h3>
     67                    <p>
     68                    <?php
    6569                        printf(
    66                             __( 'The <a href="%s">WordPress Accessibility Team</a> provides accessibility expertise across the project to improve the accessibility of WordPress core and resources.', 'wporg' ),
     70                            /* translators: %s: Link to the Accessibility team P2 */
     71                            wp_kses_post( __( 'The <a href="%s">WordPress Accessibility Team</a> provides accessibility expertise across the project to improve the accessibility of WordPress core and resources.', 'wporg' ) ),
    6772                            'https://make.wordpress.org/accessibility/'
    6873                        );
    69                     ?></p>
     74                    ?>
     75                    </p>
    7076
    71                     <p><?php
    72                         /* translators: 1: Link to the Accessibility handbook; 2: Link to the Accessibility handbook's Best Practices; 3: Link to the Accessibility handbook's Useful Tools; 4: Link to the Accessibility handbook's Audits & Testing; 5: Link to the Accessibility handbook's Get Involved */
     77                    <p>
     78                    <?php
    7379                        printf(
    74                             __( 'The <a href="%1$s">Accessibility Handbook</a> shares the <a href="%2$s">best practices</a> for web accessibility, a list of <a href="%3$s">accessibility tools</a>, the <a href="%4$s">testing we do</a> to improve WordPress, themes, and plugins, and <a href="%5$s">how to get involved</a> in WordPress accessibility.', 'wporg' ),
     80                            /* translators: 1: Link to the Accessibility handbook; 2: Link to the Accessibility handbook's Best Practices; 3: Link to the Accessibility handbook's Useful Tools; 4: Link to the Accessibility handbook's Audits & Testing; 5: Link to the Accessibility handbook's Get Involved */
     81                            wp_kses_post( __( 'The <a href="%1$s">Accessibility Handbook</a> shares the <a href="%2$s">best practices</a> for web accessibility, a list of <a href="%3$s">accessibility tools</a>, the <a href="%4$s">testing we do</a> to improve WordPress, themes, and plugins, and <a href="%5$s">how to get involved</a> in WordPress accessibility.', 'wporg' ) ),
    7582                            'https://make.wordpress.org/accessibility/handbook/',
    7683                            'https://make.wordpress.org/accessibility/handbook/best-practices/',
     
    7986                            'https://make.wordpress.org/accessibility/handbook/get-involved/'
    8087                        );
    81                     ?></p>
     88                    ?>
     89                    </p>
    8290
    83                     <p><?php
    84                         /* translators: %s: Link to the Accessibility handbook's Reporting Issues */
     91                    <p>
     92                    <?php
    8593                        printf(
    86                             __( 'To report an Accessibility issue you’ve encountered in WordPress or on WordPress.org, please see the Accessibility Handbook on <a href="%s">Reporting Accessibility Issues</a>.', 'wporg' ),
     94                            /* translators: %s: Link to the Accessibility handbook's Reporting Issues */
     95                            wp_kses_post( __( 'To report an Accessibility issue you’ve encountered in WordPress or on WordPress.org, please see the Accessibility Handbook on <a href="%s">Reporting Accessibility Issues</a>.', 'wporg' ) ),
    8796                            'https://make.wordpress.org/accessibility/handbook/reporting-issues/'
    8897                        );
    89                     ?></p>
     98                    ?>
     99                    </p>
    90100
    91101                </section>
    92102            </div><!-- .entry-content -->
    93 
    94103        </article><!-- #post-## -->
    95104
Note: See TracChangeset for help on using the changeset viewer.