trema-tech / moodle-theme_trema

Theme trema, a Moodle LMS plugin.
https://moodle.org/plugins/theme_trema
GNU General Public License v3.0
39 stars 19 forks source link

Login form: "Log in using your account on:" should be h3, not h6 #56

Closed michael-milette closed 2 years ago

michael-milette commented 2 years ago

Hi @rmady

The heading for the potentialidplist area of the theme/trema/templates/core/loginform.mustache is an H6. However, it is a sub-heading of login form's H2 section (site name) and should therefore be an H3 though it can still be styled with the font size of an H6. This was corrected in Moodle 3.10, 3.9, and 3.8 via MDL-68766.

Note: The potentialidplist area is only visible when you have enabled OAuth2 as an authentication method and configured an OAuth2 authentication provider such as Microsoft, Google, Facebook, LinkedIn, etc.

This is an accessibility issue and a failure of WCAG 2.1 Success Criterion 1.3.1: Info and Relationships. For more information, see technique H42: Using h1-h6 to identify headings.

Let me know if you have any questions or concerns.

Best regards,

Michael Milette

michael-milette commented 2 years ago

That you so much!