--- Begin Message ---
Subject: |
Incorrect language tags in case of incomplete translations |
Date: |
Fri, 9 Jun 2023 17:02:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 |
On the French part of the website,
https://guix.gnu.org/fr/blog/2023/parameterized-packages-for-gnu-guix/,
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.
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#63977: Incorrect language tags in case of incomplete translations |
Date: |
Sat, 10 Jun 2023 20:36:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Maxime Devos <maximedevos@telenet.be> writes:
> 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
--- End Message ---