JetBrains Rider 2018.3 Help

Code Inspections in HTML

Inspection

Description

Default Severity

Empty tag

Reports empty tags (like script ) that do not work in some browsers.The validation works in html or jsp file types.

Warning

Malformed content of <script> tag

This inspection checks that the script tag content is valid XML.

Error

Missing required attribute

Reports XML/HTML tags with missing mandatory attributes.You can specify attribute names that should not be reported.

Warning

Redundant closing tag for HTML element

This inspection spots extra closing tag for the empty elements like IMG or BR.

Warning

Unknown HTML tag

This inspection highlights unknown HTML tags, and lets mark such tags as Custom to avoid highlighting them as unknown in future.

Warning

Unknown HTML tag attribute

This inspection highlights unknown HTML tag attributes as invalid, and lets mark such attributes as Custom to avoid highlighting them asinvalid.

Warning

Unknown HTML boolean tag attribute

This inspection highlights HTML non-boolean tag attributes without value as invalid, and lets mark such attributes as Custom to avoid highlighting them asinvalid.

Warning

Missing closing tag

Information

File reference problems

This inspection checks unresolved file references in HTML.

Warning

Anchor reference problems

This inspection checks unresolved anchor references in HTML.

Warning

Presentational HTML tag

Highlights pure presentational HTML tags and provides the ability to replace them with CSS or with other tags.

Disabled

Deprecated HTML tag

Highlights deprecated HTML tags and provides ability to replace them with CSS or with other tags for some of them.

Warning

Missing associated label

Highlights form elements ( input, textarea, and select ) without required associated labels (WCAG 2.0: H44 ) and offers a quick-fix for creating a new label.

Warning

Image size mismatch

This inspection highlights width and height attribute values of IMG tagthat are different from the width and height of the original image.

Warning

Non-existent web resource

Highlights links to non-existent web resources.

Disabled

Missing required 'alt' attribute

Reports a missing alt attribute for the applet and img tags and the area elements of image maps (WCAG 2.0: H24, H35, H36, H37 ) and offers a quick-fix for adding the attribute. This attribute should provide a text alternative for the content of the tag.

Warning

Missing required 'lang' attribute

Reports a missing lang (or xml:lang ) attribute for the html tag (WCAG 2.0: H57 ) and offers a quick-fix for adding the attribute. This attribute should state the default language of a document.

Warning

Missing required 'title' attribute

Highlights frame, iframe, dl, and a tags without required title attributes (WCAG 2.0: H33, H40, and H64 ) and offers a quick-fix for adding a title.

Disabled

Missing required 'title' element

Reports a missing title element inside the head section (WCAG 2.0: H25 ) and offers a quick-fix for adding the tag. This title should describe the document.

Warning

Missing required 'summary' attribute

Reports a missing summary attribute for the table tag (WCAG 2.0: H73 ) and offers a quick-fix for adding the summary.

Disabled

Last modified: 14 February 2019