cds-snc / notification-planning

Project planning for GC Notify Team
5 stars 0 forks source link

Add language parameters to contact us page #1230

Open YedidaZalik opened 1 year ago

YedidaZalik commented 1 year ago

As a user, or staff person I need to language parameters on the contact page so that I can easily identify the url of either the English or French page.

WHY are we building? The contact us page does not have language parameters in the url, unlike other pages such as https://documentation.notification.canada.ca/en/ https://documentation.notification.canada.ca/fr/

WHAT are we building? Language parameters on the url of the contact us page

VALUE created by our solution Notify staff can easily add hyperlinks to the contact us page from templates or other parts of the site, without having to add the language parameters to the url first. Screenreaders may also benefit from this.

Documentation and Artifacts

Good docs, figma mockups, ADRs, screenshots etc.

Policy Analysis for Bilingual URLs

Acceptance Criteria

When anyone checks the url of the contact us page, the language of the page is indicated.

Related Research Airtable records

QA Steps

andrewleith commented 5 months ago

The admin site doesn't display the current language in the route, but you can append ?lang=en or ?lang=fr to any page in order to directly link to a specific language.

Do we think we are failing a specific guideline because of this? It would be good to understand the benefit of making this change before moving forward as it involves changing how the admin site routing works, and may require a good amount of testing.

jzbahrai commented 5 months ago

@YedidaZalik do we know what specific guideline we are failing?

YedidaZalik commented 5 months ago

WCAG 2.0 Level AA 3.1.2 Language of Parts We should identify anything in a different language than the rest of the page.

mtoutloff commented 4 months ago

Policy Analysis for requirements for bilingual URLs: https://docs.google.com/document/d/1vXH6jNAefbIZrVjVYR4dJRGH891IasfRvce-h91-ebA/edit