Description
We’re using Finsweet Components (CMS Slider) on a client site in Webflow. When we run the site through the W3C Markup Validator (https://validator.w3.org/), the only errors left come from Finsweet:
- Slider attributes:
fs-slider-type,fs-slider-instanceandfs-slider-elementondivandbuttonelements return “Attribute fs-slider-element not allowed on element div at this point.” (8 errors) - Script injected by the Webflow app (
componentsconfig-1.0.5.js):siteId="..."andfinsweet="components"return “Attribute siteid not allowed on element script at this point.” (2 errors)
Under the HTML spec, custom attributes need the data- prefix to be valid. We’d like to use W3C-valid attributes like data-fs-slider-element, and ideally have the injected script use data-site-id and data-finsweet. Is this already supported? If not, could you consider adding it?
Site URL
- URL: https://nue-gmbh.webflow.io/
- Webflow Read-only link: [Read-only-Link einfügen]
Steps to Reproduce
- Open https://validator.w3.org/
- Choose “Validate by URI” and enter https://nue-gmbh.webflow.io/
- Click “Check”
- See the errors for the
fs-slider-*attributes and for thesiteId/finsweetattributes on the components script
Expected Behavior
Finsweet Components work with W3C-valid markup (data- prefixed attributes), so the page validates without errors from Finsweet.
Actual Behavior
The validator returns 10 errors. All of them come from the Finsweet slider attributes and the script injected by the Finsweet Components app. Every other error on the site has been fixed.
Video/Screenshots
- Video link: [Loom-Link einfügen]
- Screenshots: [Screenshot vom Validator-Report]
Additional Context
- Browser: Not browser-specific (markup validation)
- Device: Not device-specific
- Finsweet Components config version: 1.0.5