• Resolved Dan Farrow

    (@danfarrow)


    Hi there, I’ve noticed that your plugin uses the aria-describedby attribute incorrectly.

    In the HTML generated by your plugin the aria-describedby attribute is placed on the description element, and contains the ID of the element it is describing.

    This is the reverse of the way the attribute should be used!

    The aria-describedby attribute should be placed on the element being described, and its value should be the ID of the element providing the description.

    For example, this is incorrect:

    
    <div>
       <label for="forminator-field-name-1">Name</label>
       <input type="text" id="forminator-field-name-1">
       <span aria-describedby="forminator-field-name-1">This is the description</span>
    </div>
    

    It should be corrected to something like this:

    
    <div>
       <label for="forminator-field-name-1">Name</label>
       <input type="text" id="forminator-field-name-1" aria-describedby="forminator-field-name-1-description">
       <span id="forminator-field-name-1-description">This is the description</span>
    </div>
    

    I hope you will be able to correct this soon as currently the description fields are not accessible.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @danfarrow

    I hope you are doing well.

    Thank you for reporting this situation, I was able to see it is indeed incorrect and we reported it to our developers, I hope we can release an improved version soon but we can’t give an estimated time.

    Best Regards
    Patrick Freitas

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @danfarrow

    I hope you are doing well and safe!

    We haven’t heard from you in a while, I’ll mark this thread as resolved.

    Feel free to let us know if you have any additional questions or problems.

    Best Regards
    Patrick Freitas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Incorrect usage of aria-describedby’ is closed to new replies.