What fresh hell is THIS now? - Patrick Lauke
form[valid] button[type="submit"] { color: green }
form:valid button { color: green }
How do I denote that form as valid in HTML?
aria-invalid="false"
would be one, but I'm not even sure that is allowed.
form:valid
do the same as checkValidity?
:valid
equals form.checkValidity
if the latter equals true.
:valid
is CSS native.
<ul class="nav nav-tabs nav-justified" role="tablist"> <li class="selected active" role="presentation" aria-hidden="false"><a id="tab-booking" href="#booking" role="tab" data-toggle="tab" aria-controls="booking" aria-selected="true">Book</a></li> <li role="presentation"><a href="#checkin" id="tab-check-in" role="tab" data-toggle="tab" aria-controls="checkin" tabindex="-1" aria-selected="false">Check In</a></li> <li role="presentation"><a href="#status" id="tab-status" role="tab" data-toggle="tab" aria-controls="status" tabindex="-1" aria-selected="false">Flight Status</a></li> <li class="last" role="presentation"><a href="#manage" id="tab-manage" role="tab" data-toggle="tab" aria-controls="manage" tabindex="-1" aria-selected="false">Manage</a></li> </ul>
aria-live="assertive"
.