News for hackers. Stuff that matters.
Re:Show HN: Popper.js, a 3KB library to manage tooltips and ... by FezVrasta on Wednesday April 06, 2016 @02:32PM (#11440716)
Surely must be done something for this problem. But Popper.js wants just to position your popper in the page. The rest is up to the developer.
Re:Show HN: Popper.js, a 3KB library to manage tooltips and ... by tyingq on Wednesday April 06, 2016 @02:37PM (#11440753)
Well, given that the api does this:

  var popper = new Popper(referenceElement, onBottomPopper, {
    placement: 'bottom'
  });
Popper.js already knows that referenceElement is the association, so it seems reasonable to consider if it should (maybe optionally) create the <label> or aria association between the two.

Similar for default keybindings that make sense.

Re:Show HN: Popper.js, a 3KB library to manage tooltips and ... by FezVrasta on Wednesday April 06, 2016 @02:41PM (#11440790)
I think this feature would be a perfect fit for a Popper.js plugin!