Make WordPress Core


Ignore:
Timestamp:
10/08/2019 07:05:53 PM (6 years ago)
Author:
desrosj
Message:

Bundled Themes: Update Twenty Twenty.

This brings trunk's version of Twenty Twenty in-sync with GitHub.

For a complete list of changes since [46357], see https://github.com/WordPress/twentytwenty/compare/7157870...7246fd6.

Props anlino, ianbelanger, poena, williampatton, nielslange, acosmin, netweb, joyusly, luminuu, itowhid06, cbravobernal, intimez, glauberglauber, ocean90, amolv, briceduclos, aristath, mukesh27, garrett-eclipse, audrasjb, afercia, dianeco, utsav72640, mahesh901122, tobifjellner.
See #48110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/template-parts/modal-menu.php

    r46357 r46445  
    1818            <div class="menu-top">
    1919
    20                 <button class="toggle close-nav-toggle fill-children-current-color" data-toggle-target=".menu-modal" data-toggle-screen-lock="true" data-toggle-body-class="showing-menu-modal" aria-expanded="false" data-set-focus=".menu-modal">
    21                     <span class="toggle-text"><?php esc_html_e( 'Close Menu', 'twentytwenty' ); ?></span>
     20                <button class="toggle close-nav-toggle fill-children-current-color" data-toggle-target=".menu-modal" data-toggle-body-class="showing-menu-modal" aria-expanded="false" data-set-focus=".menu-modal">
     21                    <span class="toggle-text"><?php _e( 'Close Menu', 'twentytwenty' ); ?></span>
    2222                    <?php twentytwenty_the_theme_svg( 'cross' ); ?>
    2323                </button><!-- .nav-toggle -->
     
    4646                    ?>
    4747
    48                     <nav class="expanded-menu<?php echo esc_attr( $expanded_nav_classes ); ?>" aria-label="<?php esc_attr_e( 'Expanded', 'twentytwenty' ); ?>">
     48                    <nav class="expanded-menu<?php echo esc_attr( $expanded_nav_classes ); ?>" aria-label="<?php esc_attr_e( 'Expanded', 'twentytwenty' ); ?>" role="navigation">
    4949
    5050                        <ul class="modal-menu reset-list-style">
     
    7171                    ?>
    7272
    73                     <nav class="mobile-menu" aria-label="<?php esc_attr_e( 'Mobile', 'twentytwenty' ); ?>">
     73                    <nav class="mobile-menu" aria-label="<?php esc_attr_e( 'Mobile', 'twentytwenty' ); ?>" role="navigation">
    7474
    7575                        <ul class="modal-menu reset-list-style">
     
    115115                <?php if ( has_nav_menu( 'social' ) ) { ?>
    116116
    117                     <nav aria-label="<?php esc_attr_e( 'Expanded Social links', 'twentytwenty' ); ?>">
    118                         <ul class="social-menu reset-list-style social-icons s-icons">
     117                    <nav aria-label="<?php esc_attr_e( 'Expanded Social links', 'twentytwenty' ); ?>" role="navigation">
     118                        <ul class="social-menu reset-list-style social-icons fill-children-current-color">
    119119
    120120                            <?php
Note: See TracChangeset for help on using the changeset viewer.