Attribute hreflang not allowed on element li at this point

Created on 17 March 2015, almost 10 years ago
Updated 3 July 2024, 6 months ago

I check my code with this validator: http://validator.w3.org/check
And throwing this error:

Line 57, Column 105: Attribute hreflang not allowed on element li at this point.
<li hreflang="es" data-drupal-link-system-path ...

This code was generated by block Language switcher.

Seem that the code generate by Drupal does not meet standards.

Beta phase evaluation

<!--Uncomment the relevant rows for the issue. -->
πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
Language moduleΒ  β†’

Last updated 4 days ago

  • Maintained by
  • πŸ‡©πŸ‡ͺGermany @sun
Created by

πŸ‡ΊπŸ‡ΈUnited States rpayanm

Live updates comments and jobs are added and updated live.
  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024