• Patrick H. Lauke's avatar
    Fix collapse.js aria-expanded behavior · 18e87042
    Patrick H. Lauke authored
    * Remove aria-expanded from collapse.js target element
    
    aria-expanded="true"/aria-expanded="false" only applies to the trigger,
    not the element that is being expanded/collapsed.
    
    * Tweak collapse.js accessibility section
    
    ...to make it clearer that the aria-expanded attribute always just goes
    on the control.
    
    * Fix collapse.js unit tests
    
    - reword some of the text to make it clear we're checking behavior of
    trigger/control
    - move incorrect aria-expanded out of the <div>s and to the actual
    trigger/control <a>s
    - fix incorrect test assertion text output false -> true
    
    18e87042