tabindex="-1"

By: Detlef Beyer | Asked: 07/26/2023
ForumsCategory: How-totabindex="-1"
Detlef BeyerDetlef Beyer asked 9 months ago
is there a way to add a tabindex="-1" attribute to the readonly fields of a form? I don't want them to be selected when using the TAB key on the keyboard. Thanks!
Rob LeVineRob LeVine replied 9 months ago

You can do it via jQuery.

Detlef BeyerDetlef Beyer replied 9 months ago

yes - I can even build the forms without using any PlugIn... 😉

If there is an "readonly" option and formidableforms claims to generate accessible forms, the tabindex and an aria-readonly attribute should be part of the generated code. I was looking for this option in the UI of the plugin 🙁

Walter JonesWalter Jones replied 9 months ago

No need to be a smart-ass, we are community volunteers, Rob was giving you a suggestion. We work within the scope of the plugin. No there is not something in the UI, but you are welcome to provide a suggestion to Strategy 11.

Detlef BeyerDetlef Beyer replied 9 months ago

oh - sorry - I didn't understand "You can do it via jQuery" as serious help - my mistake.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right