Incorrect language tags in case of incomplete translations

  • Done
  • quality assurance status badge
Details
2 participants
  • Maxime Devos
  • pelzflorian (Florian Pelz)
Owner
unassigned
Submitted by
Maxime Devos
Severity
normal
M
M
Maxime Devos wrote on 9 Jun 2023 17:02
(name . bug-guix)(address . bug-guix@gnu.org)
9763baf7-2cfb-60a0-c962-eb0d2c26a646@telenet.be
On the French part of the website,
we have an lang="fr" attribute for the 'html' tag:
<html lang="fr"> [...] </html>
This is fine.
This French web page has an English blog post. This is OK, HTML
supports that. Just put a "lang="en"' attribute in the 'article' tag
and the spec is happy, spell-check works, screen readers interpret
things properly, ...
This is, however, not done currently:
<article class="page centered-block limit-width">
Currently, blog posts are never translated at all, so fixing this should
just be a matter of unconditionally adding 'lang="en"' to all <article ...>.
Greetings,
Maxime.
Attachment: OpenPGP_signature
P
P
pelzflorian (Florian Pelz) wrote on 10 Jun 2023 20:36
(name . Maxime Devos)(address . maximedevos@telenet.be)(address . 63977-done@debbugs.gnu.org)
87pm6388r7.fsf@pelzflorian.de
Maxime Devos <maximedevos@telenet.be> writes:
Toggle quote (3 lines)
> This French web page has an English blog post. This is OK, HTML
> supports that. Just put a "lang="en"' attribute in the 'article' tag

Done in c392a144df6c1e11ec5a672f7e2c00fbfc51f5bd. Thank you for the
report! I do not have a screen reader to test though.

Regards,
Florian
Closed
?