bug#63977: Incorrect language tags in case of incomplete translations

2023-06-10 Thread pelzflorian (Florian Pelz)
Maxime Devos  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





bug#63977: Incorrect language tags in case of incomplete translations

2023-06-09 Thread Maxime Devos
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:


 [...] 

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:



Currently, blog posts are never translated at all, so fixing this should 
just be a matter of unconditionally adding 'lang="en"' to all .


Greetings,
Maxime.


OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature