Open
Description
Preconditions (*)
- Magento 2.3.1 using Luma Theme
- Install sample data
Steps to reproduce (*)
- Install magento 2.3.1
- Install sample data
- Navigate to category women/tops-women/hoodies-and-sweatshirts-women.html
- Pass this page through the validator at http://validator.w3.org/
- Multiple html5 errors for attributes that are not defined in the specification.
Expected result (*)
Validation passes with warnings only and no errors.
Actual result (*)
Multiple html5 errors due to layered navigaton
- Error: Attribute option-type not allowed on element div at this point.
- Error: Attribute option-id not allowed on element div at this point.
- Error: Attribute option-label not allowed on element div at this point.
etc etc
According to the specification custom attributes should be prefixed via data-
For example it would be proper to say data-option-type="..."
but option-type="..."
is invalid.