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

Merged
merged 2 commits into from
Jan 27, 2025
Merged

Get templates to pass W3C validation. #1065

merged 2 commits into from
Jan 27, 2025

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 (6e99a96) to head (63c265b).
Report is 1 commits behind head on main.

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.

@jwag956 jwag956 self-assigned this Jan 24, 2025
@jwag956 jwag956 merged commit b8fb7b1 into main Jan 27, 2025
21 checks passed
@jwag956 jwag956 deleted the temptitle branch January 27, 2025 22:11
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