HTML validators:

In the npm ecosystem we had a problem in that vnu-jar matches the W3C validator and thus the “gold standard,” but isn’t easy to use, while HTML-validate struggled with “HTML–HTML” (HTML omitting all optional markup).

This has been fixed, so reconsider HTML-validate for HTML validation:

https://www.npmjs.com/package/html-validate

#html #conformance #validation

Specification vs. implementation

There are a lot of times when the specification says one thing but common implementations do another. Here are some especially common examples to watch out for.

Python Type Checker Comparison: Typing Spec Conformance | Pyrefly

Learn what it means to conform to the Python typing spec, why it matters, and the conformance status of each type checker including Pyrefly, Ty, Pyright and Mypy.

How to Improve Your HTML Game · Jens Oliver Meiert

On moving beyond unsystematic HTML by choosing a deliberate writing style, committing to validation, and regularly consulting the specification.

The two most important tools for HTML developers

Does this title say “HTML developer”? It does! Sadly, it’s not a thing. But: any developer writing...

DEV Community
Accessible faux-nested interactive controls

A really common user interface pattern is a big clickable area, such as a card. Sometimes you need controls within that card that are also clickable. There's lots of ways to do it wrong, but fret not, Eric is here to show you how to do it right.

Piccalilli

How Can You Tell What’s Allowed Inside Each HTML Element?, by (not on Mastodon or Bluesky):

https://www.maxdesign.com.au/articles/allowed-inside-elements.html

#html #conformance

The Two Most Important Tools for HTML Developers, by (not on Mastodon or Bluesky):

https://dev.to/cfried/the-two-most-important-tools-for-html-developers-24nb

#tooling #html #conformance #minification #htmlminifier

The two most important tools for HTML developers

Does this title say “HTML developer”? It does! Sadly, it’s not a thing. But: any developer writing...

DEV Community