Support » Plugin: Google Language Translator » WAVE Accessibility Error for Select Language element

  • This plugin is causing an accessibility error that I do not know how to fix. If you run the WAVE test on this home page, you will see that there is a missing form label. (Click on No Styles to see the error). It says that the “Select Language” drop down menu does not have a form label. I tried to add this in with simple jQuery, which works on my local machine.

    var selectlanguage = $("");
      $(selectlanguage).attr('name', 'selectlanguage');
      $(selectlanguage).before("<label for='selectlanguage'>Select Language</label>");

    This should add the name attribute to the <select> element and then add a label before the <select> attribute but it is not working. Do you have any guidance on how to fix this accessibility error for this plugin?


    The page I need help with: [log in to see the link]

  • You must be logged in to reply to this topic.