w3c / w3c/css-validator

Change badges' suggestion for HTML5+

Open
#143 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
250
Forks
123
PR merge metrics
No merged PRs in 30d

Description

<img ... /> should just be <img ...> and the message should be adapted (close the img tag with > instead of /> if using HTML <= 4.01)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the validator sources for the badge suggestion containing <img ... /> and inspect how that message is generated. Update the suggestion for HTML5+ while preserving the guidance for HTML <= 4.01, then verify that the generated message uses the requested wording.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.