Skip to content

Add HTML and CSS validators and fix duplicate navigation ids - #46

Open
MustafaGood wants to merge 1 commit into
new-design-systemfrom
feat/html-css-validate
Open

MustafaGood wants to merge 1 commit into
new-design-systemfrom
feat/html-css-validate

Conversation

@MustafaGood

@MustafaGood MustafaGood commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Header used id="navigation" twice (main menu and subnav). HTML validators reject duplicate ids. Subnav is now nav#subnav with its own label; CSS still uses .subnav.
  • Removes a double semicolon in custom.scss.
  • Adds html-validate and stylelint in GitHub Actions against chrome fixtures (same idea as axe-smoke: the theme is not a standalone app).

If PR #40 lands first, package.json will need a rebase so both script sets remain.

Test plan

  • CI job html-validate and stylelint is green
  • npm run html-validate and npm run stylelint locally
  • Pages with a subnav: only one id="navigation" in the DOM
  • Stripe / captcha unchanged

Do not merge to main.

@MustafaGood MustafaGood moved this to 👀 In review in Handlingar Theme Aug 26, 2026
@MustafaGood
MustafaGood force-pushed the feat/html-css-validate branch from 544cd44 to e9bce3a Compare August 26, 2026 21:42
@MustafaGood MustafaGood moved this from In review to Done in Handlingar Theme Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant