Как проверить, проверяется ли ввод JavaScript
const cb = document.getElementById('accept');
console.log(cb.checked);
Embarrassed Earthworm