WordPress.org

Make WordPress Core

Ticket #19088: ARIA.menu.roles.patch

File ARIA.menu.roles.patch, 902 bytes (added by DrewAPicture, 7 years ago)

Adds navigation roles to admin bar and Dashboard menu

  • wp-admin/menu-header.php

     
    171171<div id="adminmenuback"></div>
    172172<div id="adminmenuwrap">
    173173<div id="adminmenushadow"></div>
    174 <ul id="adminmenu">
     174<ul id="adminmenu" role="navigation">
    175175
    176176<?php
    177177
  • wp-includes/class-wp-admin-bar.php

     
    179179                }
    180180
    181181                ?>
    182                 <div id="wpadminbar" class="<?php echo $class; ?>">
     182                <div id="wpadminbar" class="<?php echo $class; ?>" role="navigation">
    183183                        <div class="quicklinks">
    184184                                <?php foreach ( $this->root->children as $group ) {
    185185                                        $this->render_group( $group, 'ab-top-menu' );