How do I set the HTML Validation Pro plugin to remove obsolete attributes?
Posted onOnce 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.