Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ovann86

    (@ovann86)

    Hey,

    The use of tabindex is a little contentious and I think there’s a lot of confusion and hate for no good reason.

    See what I wrote here: https://www.ads-software.com/support/topic/tabindex-on-validation-errors?replies=3

    Having said all that, I think there’s enough call to provide an option to remove it. Most probably through a filter people need to add to their themes functions.php.

    It doesnt quite call for a dedicated settings page, and I honestly think it should be tabindex=-1 by default.

    Ill let you know once this has been setup.

    Plugin Author ovann86

    (@ovann86)

    Hi,

    I’ve replied in the other post about tabindex but not this one.

    See what I wrote here: https://www.ads-software.com/support/topic/tabindex-on-validation-errors?replies=3

    I’m interesting in hearing your perspective on tabindex and why it has to go?

    A few versions back I added a filter to remove the tabindex=-1, but I have not been convinced that it’s a good idea. All my testing and experience using AT to date has led me to see only benefits from tabindex=-1.

    From the FAQS page …

    How do I disable the tabindex on the validation message

    I DO NOT recommend removing the tabindex.

    After considered research I am of the belief that tabindex with a value of =-1 is perfectly fine, and infact quite helpful in making critical messages such as a validation message appear immidately for screen reader users.

    With that said, if you want to disable it you can add this code to your theme’s functions.php file, below the starting <?php line.

    add_action('itsg_gf_wcag_disable_tabindex', function () {
        return true;
    });
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tabindex Still Exists on Fields’ is closed to new replies.