Automated ID’s on headings causes duplicate ID, breaks validation
-
Hey!
Testing WordPress 5.9 RC 3
While the automatic id attributes on headings might be practical, it does cause an issue when validating documents with multiple identical headings. Like this:
Vegetables (h1)
Carrot (h2)
Nutrition (h3)
Potato (h2)
Nutrition (h3)In this case, both “Nutrition” headings will automatically be assigned the same id #Nutrition, which breaks validation and isn’t best practice.
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
Has anyone got an idea on how to disable that feature in WordPress 5.9?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Automated ID’s on headings causes duplicate ID, breaks validation’ is closed to new replies.