Read Me Page Accessibility, HTML, CSS, Broken Links, Spell Check

Documentation > Issues options

These options control which issues to ignore. Alternative methods and further information may be found in the special Ignoring issues topic

Issues Options

Ignore types

There are four types of issue which may be reported, of which the last three may be ignored if required:

For further information and alternative ways of ignoring issues, see the Ignoring issues topic

Ignore by

This option allows you to enter a list of ids, classes, and HTML elements, together with a list of those issues you wish to ignore for each one. Note that this only applies to the HTML tag itself and not any descendant HTML elements. Click the button to edit the table of items to ignore, adding a row for each item.

For ids, the first column should contain the id prefixed with a '#', just as in CSS. After the '#' the rest of the id can be a regular expression to match more than one id. Note that entries in the first column are case-sensitive. If you wish to ignore all issues for an id then leave the second column blank, otherwise add a comma separated list of the issues you wish to ignore like this: E601,W600,E404,P861. See the Reference for a list of the codes which may appear.

You can also add a row to match by class (prefix the class name with a '.' as in CSS). Again, you can use a regular expression, and choose to ignore all issues or list specific ones.

Anything in the first column that doesn't begin with '#' or a '.' is assumed to be an element name (which may be a regular expression), so you can also ignore issues by element name if you wish.

You can also combine the element and class parts to make the rule more specific as follows: element&class (note that the '.' prefix for the class is not required here). For example, to list issues to ignore for <div class="myClass" ...>, you would put div&myClass in the first column.

Because each of the items in the first column are treated as regular expressions, if your class or id contains a special regular expression character \^$.|?*+()[{ you must prefix these with '\' to treat them as normal characters: div&\$myclassname

Ignore CSS by

This option allows you to enter a list of CSS properties, at-keywords and selectors, together with a list of those issues you wish to ignore for each one. Click the button to edit the table of items to ignore, adding a row for each item.

For at-keywords, the first column should contain the at-keyword beginning with an '@', just as in CSS. After the '@' the rest of the at-keyword can be a regular expression to match more than one at-keyword. Note that entries in the first column are case-sensitive. If you wish to ignore all issues for an at-keyword then leave the second column blank, otherwise add a comma separated list of the issues you wish to ignore like this: E722,E724,W778. See the Reference for a list of the codes which may appear.

You can also add a row to match by selector. To distinguish it from a property name, you must prefix it with a '%'. Again, you can use a regular expression, and choose to ignore all issues or list specific ones.

You can also add a row to match by property name. Anything in the first column that doesn't begin with '@' or '%' is assumed to be a property name (which may be a regular expression)

You can also combine the property and at-keyword or selector parts to make the rule more specific as follows: property&@keyword, or property&selector (note that the '%' prefix for the selector is not required here). For example, to list issues to ignore for font-height in div {font-height: ...}, you would put font-height&div in the first column.

Because each of the items in the first column are treated as regular expressions, if your selector contains a special regular expression character \^$.|?*+()[{ you must prefix these with '\' to treat them as normal characters: font-height&\.myclassname

Ignore these issues

Use this option to ignore issues across all the pages tested.

This must be a comma separated list of issue codes to ignore. For example: E601, W600, E404, P861. See the Reference for a list of the codes which may appear.

Ignore all but

Use this option to test for specific issues. Total Validator will then ignore all issues except those listed. This must be a comma separated list of issues codes to test for. For example: E601, W600, E404, P861. See the Reference for a list of the codes which may appear.

You must ensure that you have the corresponding test turned on. For example, if you list the HTML error E602, then you must ensure that you have selected a HTML specification in the Main options.

If you do not list any issues for a specific test then you should turn that test off in the Main options otherwise it will slow the testing process unnecessarily.

You must also ensure that the Ignore types options are set appropriately. For example, if you select Ignore warnings, then any warnings you list here will be ignored.