Pledge Form: Use agreement text as label content

This calls more attention to the agreement text, and correctly associates it with the input for screen reader users.
This commit is contained in:
Kelly Dwan 2019-10-28 20:09:38 -04:00
parent f49a938c1e
commit aa8b1838cd
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
2 changed files with 11 additions and 13 deletions

View file

@ -45,7 +45,12 @@
.form-field__agree {
input {
margin-top: 0;
}
label {
display: inline;
margin-bottom: 0;
}
}