WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #25459, comment 31


Ignore:
Timestamp:
11/26/2013 08:12:44 PM (7 years ago)
Author:
neil_pie
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25459, comment 31

    initial v1  
    22
    33 {{{
    4 function wpa11y( $longform, $shortform ) {
     4function a11y_long_short( $longform, $shortform ) {
    55    return '<span aria-hidden="true">' . $shortform . '</span><span class="screen-reader-text">' . $longform . '</span>';
    66}
     
    1616
    1717{{{
    18 function wpa11y( $longform, $shortform ) {
     18function a11y_long_short( $longform, $shortform ) {
    1919    return '<span aria-label="' . $longform . "">' . $shortform . '</span>';
    2020}