Accessibility improvements using vanilla JS