Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Keyboard navigation

Hi everyone, Could anyone please help how to program a site which is completely keyboard navigable, with tab and enter. So those who can not use mouse, can navigate through the site with keyboard using tab, enter and arrow keys...

I would be deeply grateful for sample code here...

Here is how we can use tab to move to the next element on the site: <span tabindex="0"></span> but I also need to know how to use enter to choose the element where I am at the site. Hope to hear from you guys soon.

Thank you ?

1 Answer

Happy Learning :sparkles:

Thank you, Nafis!