How do I set the HTML Validation Pro plugin to remove obsolete attributes?

Posted on

Once the filters are enabled, the plugin will correct many obsolete attributes automatically but there may be some that still exists. For these instances we have included an option to configure your own attributes to be removed. Here is how: Go to HTML Validation > Settings Click on the “Content Filters” tab Scroll down the options list until you see the option labeled “HTML Element, ID and optional value” Start by typing the element/tag that includes the attribute to be removed, for example “div” Next type the bar symbol “|” Type the name of the attribute to be removed If all attributes on the particular div should be removed skip to step 10 Type the bar symbol “|” Type the value of the attribute to be removed Click “Add HTML Element, ID and optional value” Click “Save Changes” Example Entry: div|aria-label|form-title-1 If you encounter an attribute that is obsolete and would like to have the plugin updated to automatically correct or remove the attribute you can submit your suggestion using our contact form.

How do I get the HTML Validation Pro plugin to correct duplicate id attributes?

Posted on

There are situations when plugins may unknowingly create duplicate id attributes in your pages. Do to the possibility of it breaking features on your website, this is not done automatically but an option is provided to deal with these issues. To configure ids that should be made unique: Go to HTML Validation > Settings Click on the “Content Filters” tab Scroll down the options list until you see the option labeled “HTML Element and ID” Start by typing the element/tag that includes the attribute to be removed, for example “div” Next type the bar symbol “|” Type the value of the ID attribute to be made unique Click “Add HTML Element and ID” Click “Save Changes” Example Entry: svg|Layer_1

hide