1. 11
  1.  

  2. 2

    Seems cool. I wonder about accessibility, I don’t know enough to really tell.

    1. 2

      The <open-heart> element is defined as a custom element. The JavaScript that defines the custom element sets a role=button attribute on the element, which is likely the most relevant property for accessibility here. The code also sets aria-busy and aria-pressed accessibility attributes.