Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get templates to pass W3C validation. #1065

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Get templates to pass W3C validation. #1065

wants to merge 1 commit into from

Conversation

jwag956
Copy link
Collaborator

@jwag956 jwag956 commented Jan 24, 2025

Most changes were to simply add a default <title>

Validation did find some other bugs:

  • Other duplicate HTML ids in some of the more complex multi-form templates
  • Error in one-time-code input type

Changed some titles to get more consistent around case

Added (manual) test to use W3C validator to check templates. We can't do this all the time since we get rate-limited.

Currently TWO_FACTOR_VERIFY_CODE template is failing due to some label

close #1064

@ademaro please review.. Thanks!

Most changes were to simply add a default <title>

Validation did find some other bugs:
- Other duplicate HTML ids in some of the more complex multi-form templates
- Error in one-time-code input type

Changed some titles to get more consistent around case

Added (manual) test to use W3C validator to check templates. We can't do this all the time since we get rate-limited.

Currently TWO_FACTOR_VERIFY_CODE template is failing due to some label

close #1064
Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.43%. Comparing base (0047342) to head (f4e9261).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1065   +/-   ##
=======================================
  Coverage   98.43%   98.43%           
=======================================
  Files          39       39           
  Lines        4917     4917           
=======================================
  Hits         4840     4840           
  Misses         77       77           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Templates should pass W3C validation
1 participant