1. 3
  1.  

  2. 1

    While using data- HTML attributes achieves the goal of grouping two alternate URLs on a single anchor element, the attribute is poorly accessible / discoverable in a variety of contexts. I think there can be a more useful baseline markup, even if that then gets enhanced with JS. Web Components, in particular, can degrade gracefully in the absence of the required JS/CSS, as custom elements are inline by default.