Make WordPress Core

Ticket #26558: 26558.diff

File 26558.diff, 790 bytes (added by sharonaustin, 10 years ago)

Added ARIA component

  • bookmark-template.php

     
    5959        extract( $r, EXTR_SKIP );
    6060
    6161        $output = ''; // Blank string to start with.
    62 
     62    echo '<div id="aria_bookmarklink">' . '' . '</div>';
    6363        foreach ( (array) $bookmarks as $bookmark ) {
    6464                if ( !isset($bookmark->recently_updated) )
    6565                        $bookmark->recently_updated = false;
     
    9595                if ( '' != $target )
    9696                        $target = ' target="' . $target . '"';
    9797
    98                 $output .= '<a href="' . $the_link . '"' . $rel . $title . $target . '>';
     98                $output .= '<a href="' . $the_link . '"' . $rel . $title . $target . 'aria-labelledby="aria_bookmarklink"' . '>';
    9999
    100100                $output .= $link_before;
    101101