Answers for "changing aria expanded attribute with js"

1

js set attribute aria-expanded

document.getElementById('elements-id').setAttribute('aria-expanded', 'true');
Posted by: Guest on April-27-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language