Topic: TAB KEY FOCUS
ramix priority asked 6 years ago
Mikołaj Smoleński staff answered 6 years ago
ramix priority commented 6 years ago
This is not specific code, this is all code - go into the sites examples of forms. Naturally, when one fills a form, and hits the "TAB" key on the keyboard, it should focus into the next element. but since mdb "hides" the real input of checkbox and radio, the browser doesn't focus on them. a solution must be made for this! I have an approach to begin with: add the attribute [tabindex="0"] to the label itself, it will make it "focus-able", than have js listeners toggle the selection based on the keyboard hits.Mikołaj Smoleński staff commented 6 years ago
Here is our forms documentation and in each form TAB key is working correctly: https://mdbootstrap.com/components/forms/ramix priority commented 6 years ago
Not when it comes to a select box, check box or radioMikołaj Smoleński staff commented 6 years ago
You're right. Thanks for letting us know about that issue. We'll try to add focusable event to these forms in the future.ramix priority commented 6 years ago
Thanks. note that it isn't enough to add a focus event, it should also allow triggering with the keys (space foe checking/de checking. and in a select-box - up and down buttons to go through itemsMikołaj Smoleński staff commented 6 years ago
Ok, thanks for Your suggestions.FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No