Pattern: Malformed quotes for attribute value
Issue: -
Require or disallow quotes for attribute values.
Attribute values must always be quoted.
The following patterns are considered violations:
[title=flower] {}
[class^=top] {}
The following patterns are not considered violations:
[title] {}
[target="_blank"] {}
[class|="top"] {}
[title~='text'] {}
[data-attribute='component'] {}
Attribute values must never be quoted.
The following patterns are considered violations:
[target="_blank"] {}
[class|="top"] {}
[title~='text'] {}
[data-attribute='component'] {}
The following patterns are not considered violations:
[title] {}
[title=flower] {}
[class^=top] {}