semantic markup for blockchain address

Viewed 64

i'm creating semantic markup for a blockchain address

The readonly textarea lets a user select all then copy and paste elsewhere. The label has browser interactions. Better markup welcome but I like this pattern for those features

<address>
  <label>
    <code>DOT</code> address
    <textarea readonly>...</textarea>
  </label>
</address>

why does the focus glitch when I tap on the label on iphone?

Maybe touch-action could help?

You can interact online or github

0 Answers
Related