gabergg / react-scrollable-anchor

Smooth scrolling anchors bound to URL hash
MIT License
291 stars 89 forks source link

focus is not being set #59

Open NSoiffer opened 5 years ago

NSoiffer commented 5 years ago

This is slightly related to #8 in that this is an accessibility issue. Activating a link should not just scroll to the target, it should set the focus there also. This is what happens when <a> is used on an HTML page. Since the package is a replacement for anchors, it should emulate their accessibility functionality as well.