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

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:

  1. Go to HTML Validation > Settings
  2. Click on the “Content Filters” tab
  3. Scroll down the options list until you see the option labeled “HTML Element and ID”
  4. Start by typing the element/tag that includes the attribute to be removed, for example “div”
  5. Next type the bar symbol “|”
  6. Type the value of the ID attribute to be made unique
  7. Click “Add HTML Element and ID”
  8. Click “Save Changes”

Example Entry: svg|Layer_1

Similar Posts

  • How do I install the HTML Validation PRO Plugin?

    Before installing HTML Validation Pro, install HTML Validation Basic Download the plugin zip file to your computer Login to your WordPress Website and choose “Plugins > Add New” from the dashboard menu. (Note: if you do not see this option you may not have administrative permissions on your website. Please contact your website administrator for Read More »

  • How does the HTML Validation plugin work?

    It sends the URL of your page or post to the Validator.nu API to verify that you have valid HTML code. The returned errors are stored in an easy to read report with links to full validation results. Once the pro plugin is enabled you will find a “Content Filters” tab on the plugin settings page. Simply Read More »

  • What issues does the the HTML Validation Pro extension correct?

    Converts obsolete align attributes to CSS equivalent (i.e… align=”center” becomes style=”text-align:center;”) Converts heading tags inside table headers to span with style attribute Converts obsolete attributes on images to CSS equivalent (i.e… border, hspace, vspace) Converts obsolete attributes on tables and table cells to CSS equivalent (i.e… border, width, height) Converts obsolete attributes on horizontal rule Read More »

  • How do I enable the HTML Validation Pro filters?

    From the dashboard menu choose HTML Validation > Settings Click on the “Content Filters (PRO)” tab Choose “Select All” under “Enable these options to automatically correct HTML validation issues” Choose “Save Changes” Optionally, click “Reset Report Data” to clear the existing results and reset the cron scan process Note: Because the HTML Validation plugin uses Read More »

Accessibility Tools
hide