• Patrick H. Lauke's avatar
    Only change aria-pressed if it's not an input-based radio or checkbox group · 3f6e1faf
    Patrick H. Lauke authored
    * Only change aria-pressed if it's not an input-based radio or checkbox group
    
    aria-pressed="true"/aria-pressed="false" is really only useful for
    making on/off toggles out of, say, `<button>` elements. the attribute is
    useless (and potentially confusing/conflicting) on, say, `<label>`
    elements for an existing `<input type="radio">` or similar.
    
    * Add unit test for buttons.js and radio/checkbox inputs in button groups
    3f6e1faf