Skip to content

Alpine based page doesn't pass W3C validator markup validation service #2042

Discussion options

You must be logged in to vote

Alpine v3 supports custom prefixes.

<script>
document.addEventListener('alpine:init', () => Alpine prefix('data-x-'))
</script>

data-* attributes are allowed and they'll pass validation

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@SimoTod
Comment options

SimoTod Sep 26, 2022
Collaborator

@ekwoka
Comment options

@JorickPepin
Comment options

@ekwoka
Comment options

@Zmove
Comment options

Answer selected by driss-chelouati
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants