Skip to content

Get templates to pass W3C validation.#1065

Merged
jwag956 merged 2 commits intomainfrom
temptitle
Jan 27, 2025
Merged

Get templates to pass W3C validation.#1065
jwag956 merged 2 commits intomainfrom
temptitle

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
@codecov
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
20 checks passed
@jwag956 jwag956 deleted the temptitle branch January 27, 2025 22:11
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Templates should pass W3C validation

1 participant