Making WordPress.org


Ignore:
Timestamp:
12/11/2019 07:47:00 AM (5 years ago)
Author:
tellyworth
Message:

Main theme: fix headings hierarchy in About section

This is the markup following r9327, to fix the headings hierarchy for better SEO and accessibility.

Props dufresnesteven, afercia.
Fixes #4120.

File:
1 edited

Legend:

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

    r9043 r9328  
    4444
    4545        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    46             <header class="entry-header">
     46            <header class="entry-header row">
    4747                <h1 class="entry-title col-8"><?php the_title(); ?></h1>
    4848            </header><!-- .entry-header -->
     
    5050            <div class="entry-content row">
    5151                <section class="col-8">
    52                     <h3><?php esc_html_e( 'Cookies', 'wporg' ); ?></h3>
     52                    <h2><?php esc_html_e( 'Cookies', 'wporg' ); ?></h2>
    5353                    <p><?php
    5454                        echo wp_kses_post( sprintf(
     
    5959                    ?></p>
    6060
    61                     <h3><?php esc_html_e( 'What are cookies?', 'wporg' ); ?></h3>
     61                    <h2><?php esc_html_e( 'What are cookies?', 'wporg' ); ?></h2>
    6262                    <p><?php esc_html_e( 'Cookies are small pieces of data, stored in text files, that are stored on your computer or other device when websites are loaded in a browser. They are widely used to &#8216;remember&#8217; you and your preferences, either for a single visit (through a &#8216;session cookie&#8217;) or for multiple repeat visits (using a &#8216;persistent cookie&#8217;). They ensure a consistent and efficient experience for visitors, and perform essential functions such as allowing users to register and remain logged in. Cookies may be set by the site that you are visiting (known as &#8216;first party cookies&#8217;), or by third parties, such as those who serve content or provide advertising or analytics services on the website (&#8216;third party cookies&#8217;).', 'wporg' ); ?></p>
    6363
    64                     <h3><?php esc_html_e( 'Cookies set by WordPress.org', 'wporg' ); ?></h3>
     64                    <h2><?php esc_html_e( 'Cookies set by WordPress.org', 'wporg' ); ?></h2>
    6565                    <p><?php esc_html_e( 'We use cookies for a number of different purposes. Some cookies are necessary for technical reasons; some enable a personalized experience for both visitors and registered users; and some allow the display of advertising from selected third party networks. Some of these cookies may be set when a page is loaded, or when a visitor takes a particular action (clicking the &#8216;like&#8217; or &#8216;follow&#8217; button on a post, for example).', 'wporg' ); ?></p>
    6666                    <p><?php esc_html_e( 'Below the different categories of cookies set by WordPress.org are outlined, with specific examples detailed in the tables that follow. This includes their name and purpose. Certain cookies are only set for logged-in visitors, whereas others are set for any visitors, and these are marked below accordingly. Where a cookie only applies to specific subdomains, they are included under the relevant header.', 'wporg' ); ?></p>
     
    7171                    <p><strong><?php esc_html_e( 'Third Party/Embedded Content', 'wporg' ); ?></strong>: <?php esc_html_e( 'WordPress.org makes use of different third party applications and services to enhance the experience of website visitors. These include social media platforms such as Facebook and Twitter (through the use of sharing buttons), or embedded content from YouTube and Vimeo. As a result, cookies may be set by these third parties, and used by them to track your online activity. We have no direct control over the information that is collected by these cookies.', 'wporg' ); ?></p>
    7272
    73                     <h3><?php esc_html_e( 'wordpress.org', 'wporg' ); ?></h3>
     73                    <h2><?php esc_html_e( 'wordpress.org', 'wporg' ); ?></h2>
    7474                    <table>
    7575                        <thead>
     
    139139                    </table>
    140140
    141                     <h3><?php esc_html_e( 'make.wordpress.org', 'wporg' ); ?></h3>
     141                    <h2><?php esc_html_e( 'make.wordpress.org', 'wporg' ); ?></h2>
    142142                    <table>
    143143                        <thead>
     
    165165                    </table>
    166166
    167                     <h3><?php esc_html_e( '*.trac.wordpress.org', 'wporg' ); ?></h3>
     167                    <h2><?php esc_html_e( '*.trac.wordpress.org', 'wporg' ); ?></h2>
    168168                    <table>
    169169                        <thead>
     
    191191                    </table>
    192192
    193                     <h3><?php esc_html_e( 'codex.wordpress.org', 'wporg' ); ?></h3>
     193                    <h2><?php esc_html_e( 'codex.wordpress.org', 'wporg' ); ?></h2>
    194194                    <table>
    195195                        <thead>
     
    223223                    </table>
    224224
    225                     <h3><?php esc_html_e( '*.wordcamp.org', 'wporg' ); ?></h3>
     225                    <h2><?php esc_html_e( '*.wordcamp.org', 'wporg' ); ?></h2>
    226226                    <table>
    227227                        <thead>
     
    327327                    </table>
    328328
    329                     <h3><?php esc_html_e( 'Controlling Cookies', 'wporg' ); ?></h3>
     329                    <h2><?php esc_html_e( 'Controlling Cookies', 'wporg' ); ?></h2>
    330330                    <p><?php esc_html_e( 'Visitors may wish to restrict the use of cookies, or completely prevent them from being set. Most browsers provide for ways to control cookie behavior such as the length of time they are stored &#8212; either through built-in functionality or by utilizing third party plugins.', 'wporg' ); ?></p>
    331331                    <p>
     
    343343                    <p><?php esc_html_e( 'It&#8217;s important to note that restricting or disabling the use of cookies can limit the functionality of sites, or prevent them from working correctly at all.', 'wporg' ); ?></p>
    344344
    345                     <h3><?php esc_html_e( 'WordPress.org', 'wporg' ); ?></h3>
     345                    <h2><?php esc_html_e( 'WordPress.org', 'wporg' ); ?></h2>
    346346                    <p><a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" src="https://s.w.org/images/home/ccbysa40.png"></a></p>
    347347                </section>
Note: See TracChangeset for help on using the changeset viewer.