@zkat__ ("kat marchán") retweeted:
@LeaVerou ("Lea Verou") wrote:
Wouldn't it be great to be able to reference HTML elements from other HTML elements (e.g. for labels, ARIA, datalist etc) based on relationship in the DOM tree, without having to assign ids?
I posted a @wicg_ proposal today exploring various solutions: https://discourse.wicg.io/t/relative-element-references-in-html/5627