Skip to:
Content

BuddyPress.org

Changeset 10534


Ignore:
Timestamp:
02/05/2016 10:03:05 PM (11 years ago)
Author:
mercime
Message:

A11y: Simplify markup of the Credits panel to improve access to content.

Remove adjacent links and text to reduce noise for screen readers and
decrease tabbing for keyboard users while scanning the lists of
BuddyPress Project Leaders, Core Team, and Rockstars.

Fixes #6860.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-admin.php

    r10518 r10534  
    653653                        <ul class="wp-people-group " id="wp-people-group-project-leaders">
    654654                                <li class="wp-person" id="wp-person-johnjamesjacoby">
    655                                         <a href="https://profiles.wordpress.org/johnjamesjacoby"><img src="//www.gravatar.com/avatar/81ec16063d89b162d55efe72165c105f?s=60" class="gravatar" alt="John James Jacoby" /></a>
    656                                         <a class="web" href="https://profiles.wordpress.org/johnjamesjacoby">John James Jacoby</a>
     655                                        <a class="web" href="https://profiles.wordpress.org/johnjamesjacoby"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/81ec16063d89b162d55efe72165c105f?s=60">
     656                                        John James Jacoby</a>
    657657                                        <span class="title"><?php _e( 'Project Lead', 'buddypress' ); ?></span>
    658658                                </li>
    659659                                <li class="wp-person" id="wp-person-boonebgorges">
    660                                         <a href="https://profiles.wordpress.org/boonebgorges"><img src="//www.gravatar.com/avatar/9cf7c4541a582729a5fc7ae484786c0c?s=60" class="gravatar" alt="Boone B. Gorges" /></a>
    661                                         <a class="web" href="https://profiles.wordpress.org/boonebgorges">Boone B. Gorges</a>
     660                                        <a class="web" href="https://profiles.wordpress.org/boonebgorges"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/9cf7c4541a582729a5fc7ae484786c0c?s=60">
     661                                        Boone B. Gorges</a>
    662662                                        <span class="title"><?php _e( 'Lead Developer', 'buddypress' ); ?></span>
    663663                                </li>
    664664                                <li class="wp-person" id="wp-person-djpaul">
    665                                         <a href="https://profiles.wordpress.org/djpaul"><img src="//www.gravatar.com/avatar/3bc9ab796299d67ce83dceb9554f75df?s=60" class="gravatar" alt="Paul Gibbs" /></a>
    666                                         <a class="web" href="https://profiles.wordpress.org/djpaul">Paul Gibbs</a>
     665                                        <a class="web" href="https://profiles.wordpress.org/djpaul"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3bc9ab796299d67ce83dceb9554f75df?s=60">
     666                                        Paul Gibbs</a>
    667667                                        <span class="title"><?php _e( 'Lead Developer', 'buddypress' ); ?></span>
    668668                                </li>
    … …  
    672672                        <ul class="wp-people-group " id="wp-people-group-core-team">
    673673                                <li class="wp-person" id="wp-person-r-a-y">
    674                                         <a href="https://profiles.wordpress.org/r-a-y"><img src="//www.gravatar.com/avatar/3bfa556a62b5bfac1012b6ba5f42ebfa?s=60" class="gravatar" alt="Ray" /></a>
    675                                         <a class="web" href="https://profiles.wordpress.org/r-a-y">Ray</a>
     674                                        <a class="web" href="https://profiles.wordpress.org/r-a-y"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3bfa556a62b5bfac1012b6ba5f42ebfa?s=60">
     675                                        Ray</a>
    676676                                        <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
    677677                                </li>
    678678                                <li class="wp-person" id="wp-person-imath">
    679                                         <a href="https://profiles.wordpress.org/imath"><img src="//www.gravatar.com/avatar/8b208ca408dad63888253ee1800d6a03?s=60" class="gravatar" alt="Mathieu Viet" /></a>
    680                                         <a class="web" href="https://profiles.wordpress.org/imath">Mathieu Viet</a>
     679                                        <a class="web" href="https://profiles.wordpress.org/imath"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/8b208ca408dad63888253ee1800d6a03?s=60">
     680                                        Mathieu Viet</a>
    681681                                        <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
    682682                                </li>
    683683                                <li class="wp-person" id="wp-person-mercime">
    684                                         <a href="https://profiles.wordpress.org/mercime"><img src="//www.gravatar.com/avatar/fae451be6708241627983570a1a1817a?s=60" class="gravatar" alt="Mercime" /></a>
    685                                         <a class="web" href="https://profiles.wordpress.org/mercime">Mercime</a>
     684                                        <a class="web" href="https://profiles.wordpress.org/mercime"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/fae451be6708241627983570a1a1817a?s=60">
     685                                        Mercime</a>
    686686                                        <span class="title"><?php _e( 'Navigator', 'buddypress' ); ?></span>
    687687                                </li>
    688688                                <li class="wp-person" id="wp-person-dcavins">
    689                                         <a href="https://profiles.wordpress.org/dcavins"><img src="//www.gravatar.com/avatar/a5fa7e83d59cb45ebb616235a176595a?s=60" class="gravatar" alt="David Cavins" /></a>
    690                                         <a class="web" href="https://profiles.wordpress.org/dcavins">David Cavins</a>
     689                                        <a class="web" href="https://profiles.wordpress.org/dcavins"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/a5fa7e83d59cb45ebb616235a176595a?s=60">
     690                                        David Cavins</a>
    691691                                        <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
    692692                                </li>
    693693                                <li class="wp-person" id="wp-person-tw2113">
    694                                         <a href="https://profiles.wordpress.org/tw2113"><img src="//www.gravatar.com/avatar/a5d7c934621fa1c025b83ee79bc62366?s=60" class="gravatar" alt="Michael Beckwith" /></a>
    695                                         <a class="web" href="https://profiles.wordpress.org/tw2113">Michael Beckwith</a>
     694                                        <a class="web" href="https://profiles.wordpress.org/tw2113"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/a5d7c934621fa1c025b83ee79bc62366?s=60">
     695                                        Michael Beckwith</a>
    696696                                        <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
    697697                                </li>
    698698                                <li class="wp-person" id="wp-person-hnla">
    699                                         <a href="https://profiles.wordpress.org/hnla"><img src="//www.gravatar.com/avatar/3860c955aa3f79f13b92826ae47d07fe?s=60" class="gravatar" alt="Hugo Ashmore" /></a>
    700                                         <a class="web" href="https://profiles.wordpress.org/hnla">Hugo</a>
     699                                        <a class="web" href="https://profiles.wordpress.org/hnla"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3860c955aa3f79f13b92826ae47d07fe?s=60">
     700                                        Hugo</a>
    701701                                        <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
    702702                                </li>
    … …  
    706706                        <ul class="wp-people-group " id="wp-people-group-rockstars">
    707707                                <li class="wp-person" id="wp-person-henry-wright">
    708                                         <a href="https://profiles.wordpress.org/henry.wright"><img src="//www.gravatar.com/avatar/0da2f1a9340d6af196b870f6c107a248?s=60" class="gravatar" alt="Henry Wright" /></a>
    709                                         <a class="web" href="https://profiles.wordpress.org/henry.wright">Henry Wright</a>
     708                                        <a class="web" href="https://profiles.wordpress.org/henry.wright"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0da2f1a9340d6af196b870f6c107a248?s=60">
     709                                        Henry Wright</a>
    710710                                </li>
    711711                                <li class="wp-person" id="wp-person-danbp">
    712                                         <a href="https://profiles.wordpress.org/danbp"><img src="//www.gravatar.com/avatar/0deae2e7003027fbf153500cd3fa5501?s=60" class="gravatar" alt="danbp" /></a>
    713                                         <a class="web" href="https://profiles.wordpress.org/danbp">danbp</a>
     712                                        <a class="web" href="https://profiles.wordpress.org/danbp"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0deae2e7003027fbf153500cd3fa5501?s=60">
     713                                        danbp</a>
    714714                                </li>
    715715                                <li class="wp-person" id="wp-person-shanebp">
    716                                         <a href="https://profiles.wordpress.org/shanebp"><img src="//www.gravatar.com/avatar/ffd294ab5833ba14aaf175f9acc71cc4?s=60" class="gravatar" alt="shanebp" /></a>
    717                                         <a class="web" href="https://profiles.wordpress.org/shanebp">shanebp</a>
     716                                        <a class="web" href="https://profiles.wordpress.org/shanebp"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ffd294ab5833ba14aaf175f9acc71cc4?s=60">
     717                                        shanebp</a>
    718718                                </li>
    719719                                <li class="wp-person" id="wp-person-netweb">
    720                                         <a href="https://profiles.wordpress.org/netweb"><img src="//www.gravatar.com/avatar/97e1620b501da675315ba7cfb740e80f?s=60" class="gravatar" alt="Stephen Edgar" /></a>
    721                                         <a class="web" href="https://profiles.wordpress.org/netweb">Stephen Edgar</a>
     720                                        <a class="web" href="https://profiles.wordpress.org/netweb"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/97e1620b501da675315ba7cfb740e80f?s=60">
     721                                        Stephen Edgar</a>
    722722                                </li>
    723723                                <li class="wp-person" id="wp-person-dimensionmedia">
    724                                         <a href="https://profiles.wordpress.org/dimensionmedia"><img src="//www.gravatar.com/avatar/7735aada1ec39d0c1118bd92ed4551f1?s=60" class="gravatar" alt="David Bisset" /></a>
    725                                         <a class="web" href="https://profiles.wordpress.org/dimensionmedia">David Bisset</a>
     724                                        <a class="web" href="https://profiles.wordpress.org/dimensionmedia"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7735aada1ec39d0c1118bd92ed4551f1?s=60">
     725                                        David Bisset</a>
    726726                                </li>
    727727
Note: See TracChangeset for help on using the changeset viewer.