ariaInvalid

A way to select elements that have been tagged with an aria-invalid attribute.

This is different from the :invalid pseudo-class selector! The invalid pseudo-class is useful when the standard widget supports a general invalidation algorithm (like an email type input with an invalid email address), but the ariaInvalid version can be used to support custom invalidation strategies.