Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
There is no label associated to the select list in either the "Both" or the "Dropdown" instances. Please add the following to make this WCAG Level AA compliant.
$block_content .= '<label for="languages">Translate</label>'; // New line to assign label, easily hidden with CSS
$block_content .= '<select id="languages" onchange="doGTranslate(this);">'; // ID added
Comments
Comment #2
apaderno