AaronGustafson’s avatarAaronGustafson’s Twitter Archive—№ 13,833

    1. …in reply to @dam
      @dam @getify @paul_irish @tkadlec Generally I agree, but I also abhor the “hacky” stuff like checkboxes for CSS-only accordions.
  1. …in reply to @AaronGustafson
    @dam @getify @paul_irish @tkadlec It’s about knowing your tools and not just *how*, but *when* to use them. Sometimes JS is the right choice
    1. …in reply to @AaronGustafson
      @dam @getify @paul_irish @tkadlec Other times it’s HTML. Sometimes it’s HTML+CSS. Others it’s all three.
      1. …in reply to @AaronGustafson
        @dam @getify @paul_irish @tkadlec Same goes with ARIA. Some ARIA role (landmarks, for instance) make sense in your HTML.
        1. …in reply to @AaronGustafson
          @dam @getify @paul_irish @tkadlec Widget-related roles & states should be managed in JS as they are JS-dependent.