w3c / wai-people-use-web

25 stars 60 forks source link

[ French ] missing hreflang & lang for English links – Update user-stories.fr.md #318

Closed 3l3gant-cod3s closed 8 months ago

netlify[bot] commented 8 months ago

Deploy Preview for wai-people-use-web ready!

Name Link
Latest commit 97df6149e6ac35f40ce646ef522b80d0c0b1c4c8
Latest deploy log https://app.netlify.com/sites/wai-people-use-web/deploys/65885aa047837e00088fa03a
Deploy Preview https://deploy-preview-318--wai-people-use-web.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

remibetin commented 8 months ago

@3l3gant-cod3s Concerning hreflang, I think it is best to not add them manually. I have created an issue and will investigate soon: https://github.com/w3c/wai-translations/issues/161

Concerning link text still in English, would you be willing to translate them?

3l3gant-cod3s commented 8 months ago

Hi @remibetin Because I thought the translation was complete I had a very wrong mental model of why some link's texts weren't translated: that no (linked) translation existed. Despite the fact that they weren't marked as English portions of text (with an lang="en" attribute), a discrepancy which should have alerted me. Like these ones: https://www.w3.org/WAI/people-use-web/user-stories/fr#sections-lies--lee

Principes d’accessibilité

So I wrongly reused the logic used elsewhere: adding hreflang@en and lang@en. I think now that it wasn't the right think to do (sorry). I will soon push French translations of all the links and remove hreflang@en and lang@en attributes.

3l3gant-cod3s commented 8 months ago

So please do not merge now :)

3l3gant-cod3s commented 8 months ago

Now I do have a Stylus CSS rule overload which highlights the English portions of text so the discrepancy is self-evident as the “English” links aren’t highlighted… :/ with highlight without highlight

3l3gant-cod3s commented 8 months ago

I didn't notice the absence of “(en anglais)”, either

3l3gant-cod3s commented 8 months ago

replaced by #319

3l3gant-cod3s commented 8 months ago

ping @remibetin