<script> document.addEventListener('DOMContentLoaded', function() { // Identify Buttons const mainButton = document.querySelector('.scheme-switch-alpha__button--main'); const altButton = document.querySelector('.scheme-switch-alpha__button--alt'); // Set Focus on Click With Slight Delay altButton.addEventListener('click', function() { setTimeout(function() { mainButton.focus(); }, 1); }); mainButton.addEventListener('click', function() { setTimeout(function() { altButton.focus(); }, 1); }); }); </script>
도움이 되는 리소스를 제공해드립니다
kyndof