Making WordPress.org

Changeset 2249


Ignore:
Timestamp:
01/05/2016 09:33:03 PM (9 years ago)
Author:
ocean90
Message:

Rosetta Theme: Add ARIA landmark roles.

Props ramiy.
Fixes #1071.

Location:
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/404.php

    r1615 r2249  
    99<div id="pagebody">
    1010    <div class="wrapper">
    11         <div class="col-12">
     11        <div class="col-12" role="main">
    1212            <p class="intro"><?php _e( 'The page you were looking for could not be found. I&#8217;m sorry, it&#8217;s not your fault&hellip; probably.', 'rosetta' ); ?></p>
    1313        </div>
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/archive.php

    r1624 r2249  
    33    <div id="pagebody">
    44        <div class="wrapper">
    5             <div class="col-9">
     5            <div class="col-9" role="main">
    66                <?php the_archive_title( '<h2 class="fancy">', '</h2>' ); ?>
    77
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/contact.php

    r1626 r2249  
    1919    <div id="pagebody">
    2020        <div class="wrapper">
    21             <div class="col-9">
     21            <div class="col-9" role="main">
    2222
    2323<?php
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download.php

    r1615 r2249  
    1717    <div id="pagebody">
    1818        <div class="wrapper">
    19             <div class="col-9">
     19            <div class="col-9" role="main">
    2020<?php
    2121    if ( ! empty( $releases ) ):
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/front-page.php

    r1641 r2249  
    88        <div class="wrapper">
    99            <div class="section">
    10                 <div class="col-12">
     10                <div class="col-12" role="main">
    1111                    <h3>The <?php echo $rosetta->rosetta->get_glotpress_locale()->english_name; ?> translation of WordPress is inactive</h3>
    1212                    <p><a href="https://wordpress.org/download/">Download the English version instead</a>.</p>
     
    2020        <div class="wrapper">
    2121            <div class="section">
    22                 <div class="col-12">
     22                <div class="col-12" role="main">
    2323<?php
    2424    query_posts('pagename=txt-welcome');
     
    6161<?php endwhile; ?>
    6262                </div>
    63                 <div class="col-3">
     63                <div class="col-3" role="complementary">
    6464                    <?php get_sidebar( 'page' ); ?>
    6565                </div>
     
    141141                </div>
    142142
    143                 <div class="col-3">
     143                <div class="col-3" role="complementary">
    144144                    <?php get_sidebar( 'blog' ); ?>
    145145                </div>
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/index.php

    r1641 r2249  
    33<div id="pagebody">
    44    <div class="wrapper">
    5         <div class="col-9">
     5        <div class="col-9" role="main">
    66            <?php
    77            if ( have_posts()) :
     
    3131            </nav>
    3232        </div>
    33         <div class="col-3">
     33        <div class="col-3" role="complementary">
    3434            <?php get_sidebar( 'blog' ); ?>
    3535        </div>
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/page.php

    r1641 r2249  
    1111    <div id="pagebody">
    1212        <div class="wrapper">
    13             <div class="col-9">
     13            <div class="col-9" role="main">
    1414                <?php the_content(); ?>
    1515            </div>
    16             <div class="col-3">
     16            <div class="col-3" role="complementary">
    1717                <?php get_sidebar( 'page' ); ?>
    1818            </div>
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/sidebar-page.php

    r1641 r2249  
    55    ?>
    66    <p class="download-meta">
    7         <a class="button download-button button-large button-large" href="<?php echo $latest_release['zip_url']; ?>">
     7        <a class="button download-button button-large button-large" href="<?php echo $latest_release['zip_url']; ?>" role="button">
    88            <strong><?php
    99                echo apply_filters( 'no_orphans',
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/single.php

    r1641 r2249  
    33<div id="pagebody">
    44    <div class="wrapper">
    5         <div class="col-9">
     5        <div class="col-9" role="main">
    66            <?php
    77            if ( have_posts()) :
     
    4040            <?php posts_nav_link(' &#8212; ', __( '&laquo; Newer Posts', 'rosetta' ), __( 'Older Posts &raquo;', 'rosetta' ) ); ?>
    4141        </div>
    42         <div class="col-3">
     42        <div class="col-3" role="complementary">
    4343            <?php get_sidebar( 'blog' ); ?>
    4444        </div>
Note: See TracChangeset for help on using the changeset viewer.