This addon validates the HTML of your stories with the help of https://validator.w3.org/.
To use the addon simply register it in the addons
config array:
addons: [
'storybook-addon-html-validator',
],
npm i storybook-html-validator -D
Inspired by Addon-Kit