Home App Docs Blog Github

How to use tabindex for browsing through keyboard

I was trying to access the button through key and wanted to click using or key.
I could see the button’s html tag as instead of tag so its not accessible using key. Can you let me know how to 1) add tabindex to any html element 2) invoke click action on or key press

Note: I am using builder.io webcomponents

Hey @shivaji.mutkule, thanks for reaching out! You can add the tabIndex, or any custom element attribute in the style tab > custom element attribute section

  • New

Additionally, you can use the data tab to add element actions, such as click events, keypress, mouse over, etc.