Making WordPress.org


Ignore:
Timestamp:
12/04/2016 04:26:03 PM (9 years ago)
Author:
obenland
Message:

Correct usage of aria-expanded attribute.

It belongs on the toggeling element, not the element that is being expanded.

Fixes #2291.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/developers/index.jsx

    r4313 r4464  
    99        return (
    1010            <div>
    11                 <div id="developers" className="read-more" aria-expanded="false">
     11                <div id="developers" className="read-more">
    1212                    <h2>Contributors & Developers</h2>
    1313                    <p>This is open source software. The following people have contributed to this plugin.</p>
     
    1717                    <p><a href={ `https://plugins.svn.wordpress.org/${ this.props.slug }/` } rel="nofollow">Browse the code</a> or subscribe to the <a href={ `https://plugins.trac.wordpress.org/log/${ this.props.slug }/` } rel="nofollow">development log</a> by <a href={ `https://plugins.trac.wordpress.org/log/${ this.props.slug }/?limit=100&mode=stop_on_copy&format=rss` } rel="nofollow">RSS</a>.</p>
    1818                </div>
    19                 <button type="button" className="button-link section-toggle" aria-controls="developers">Read more</button>
     19                <button type="button" className="button-link section-toggle" aria-controls="developers" aria-expanded="false">Read more</button>
    2020            </div>
    2121        )
Note: See TracChangeset for help on using the changeset viewer.