Skip to content

Comment on A small change to improve browsers for keyboard navigation

Comments

I'm using Firefox and the links were activated when I hit enter in the quick-find prompt. Not sure why the behavior is different than what the author is seeing.

h43zOP

The links yes, but what about buttons or other html elements?

Buttons work too.

The issue is with any JavaScript driven on click events tags. Some sites even have their <a> tags not responding to keyboards events, because they have a hash href, and a JavaScript handler to redirect.

The web is beautiful place.

h43zOP

I don't see it working on firefox for buttons but on chrome. Both don't work on other html elements (div,span,..).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.