Skip to content

HTML validation errors within pattern-lab UI parts #1437

@mfranzke

Description

@mfranzke

I am using Pattern Lab Node v5.16.2 on Mac, with Node v14.19.3, using a Vanilla Edition.

Expected Behavior

No HTML validation error is being reported by a W3C validator.

Actual Behavior

The w3.org validation service reports the following problem among others:

Error: Element div not allowed as child of element button in this context.

Steps to Reproduce

Go to the URL https://validator.w3.org/nu/?doc=https%3A%2F%2Fpatternlab-handlebars-preview.netlify.app%2Fpatterns%2Fatoms-global%2Findex.html

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions