Checks the presence of a pseudo-class for selectors with :hover
.
a:hover,
a:focus {
}
This rule considers :focus pseudo-class selector defined in the CSS Specifications.
The --fix
option on the command line can automatically fix all of the problems reported by this rule.
The following pattern is considered a violation:
a:hover {
}
The following patterns are not considered violations:
a:hover,
a:focus {
}
a:focus {
}
a:hover {
}
a:focus {
}