Tagged: , , , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #161720

    I realise it’s only small, but I thought I’d pass it on in case it’s worth adding to the next update… The (built-in) WPML Language switcher icons are missing the ALT tag.

    As far as I can see the fix is simple – WPML/config.php line:260 can be changed from:
    $output .= " <span class='language_flag'><img title='".$lang['native_name']."' src='".$lang['country_flag_url']."' /></span>";

    to:

    $output .= " <span class='language_flag'><img title='".$lang['native_name']."' alt='".$lang['native_name']."' src='".$lang['country_flag_url']."' /></span>";

    #161755

    Hi,
    yes – thank you for the notice. We are aware of the issue and it will be fixed in the next version.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘ALT tag for WPML language flags’ is closed to new replies.