mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-05 18:35:46 +03:00
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:
parent
f49a938c1e
commit
aa8b1838cd
2 changed files with 11 additions and 13 deletions
|
@ -45,7 +45,12 @@
|
|||
|
||||
.form-field__agree {
|
||||
|
||||
input {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue