Improve smooth scroll a11y

This commit is contained in:
Dominik Korsa 2019-03-04 19:16:10 +01:00
parent 216b6b3027
commit 95b80b81ea

View file

@ -56,6 +56,8 @@ export default {
element.scrollIntoView({ element.scrollIntoView({
behavior: 'smooth', behavior: 'smooth',
}); });
window.location.hash = 'download';
element.focus();
} }
}, },
discordClick() { discordClick() {