<label><input type="checkbox"> Yes?</label>
let elem = document.querySelector('input')
let neighbours = elem.parentNode.childNodes
let textNodes = [...neighbours].filter(node => node.nodeType == Node.TEXT_NODE)
let str = textNodes.reduce((acc, node)=>acc + node.nodeValue, '')