Skip to content

Commit b08aa80

Browse files
committed
Add accessibility label to newsletter input form
1 parent dca1f01 commit b08aa80

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

templates/includes/subscribe.jade

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ form.subscribe-form(
1111
value="",
1212
placeholder="Your Email",
1313
required="required"
14+
aria-label="Email"
1415
)
15-
button(type="submit")
16+
button(type="submit", aria-label="Subscribe to newsletter")
1617
|#[i.fa.fa-send] Subscribe
1718
div(style="position: absolute; left: -5000px;", aria-hidden="true")
1819
input(
1920
type="text",
2021
name="b_910a586d174a45ddb1125ad4e_1f87464654",
2122
tabindex="-1",
22-
value=""
23+
value="",
2324
)
25+

0 commit comments

Comments
 (0)