canada-ca / micro-acquisition

Micro-acquisition Pilot - Pilote Micro-acquisition
http://micro-acquisition.alpha.canada.ca/
MIT License
7 stars 6 forks source link

page section missing lang attribute #247

Closed RachelMuston closed 3 years ago

RachelMuston commented 3 years ago

From the report "The alt text for the "Government of Canada" logo on the French pages is in English.

Text needs to be updated to French "Gouvernement du Canada" or a lang="en" has to be added to that section.

Source code:

Government of Canada
      <span class="wb-inv"> / <span lang="fr">Gouvernement du Canada</span></span>
    </a>

Visit the following page to see an example code: https://www.canada.ca/fr.html The French text is placed in the alt attribute and the English text is in the span with a lang="en" attribute.

Note: on the French pages, there is no need to add lang="fr" to any element. The document language was already identified in the element. Only sections that has different language than the documents' must be identified."

Link to the report: http://esdc.prv/cgi-bin/scdtic-ictdcs/assessment.aspx?id=393