cambiatus / frontend

Cambiatus Web based frontend using Elm
https://app.cambiatus.io
GNU Affero General Public License v3.0
25 stars 16 forks source link

[Accessibility] [Password Page] [Code] Incorrect HTML language #865

Open ceciliabelem opened 1 month ago

ceciliabelem commented 1 month ago

Describe the bug When access muda’s page, the html language should be in portuguese or change as the user changes the navigation language. It impacts the screen readers behaviour. As the page is multilingual, the HTML language should change as the user changes the language.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Muda's Password'
  2. Click on 'I'm already a member' button
  3. Inspect the HTML
  4. See the incorrect HTML language (in this case, "EN"), even when the user changes the language

Expected behavior If the language is portuguese, the html must be “pt-br” too. In this way, the screen reader verbalizes as native. The same behaviour must work for all languages.

Screenshots image

Cambiatus Env you are using Put the URL of the page you are trying to use

Desktop (please complete the following information): OS: Windows Browser Chrome Version 129.0.6668.101 (Versão oficial) 64 bits

Additional context Add any other context about the problem here.

ceciliabelem commented 3 weeks ago

For mapping all defects statistics, I just updated the spreadsheet. Also, there is a graphic to help understand some kinds of bugs and how they can impact users. Muda's Report Spreadsheet