Skip to content

Commit ff1943b

Browse files
abeissdras
authored andcommitted
Accessibility fix on newsletter form input (vuejs#1828)
Fixes the issue: "Form elements do not have associated labels". Labels ensure that form controls are announced properly by assistive technologies, like screen readers. https://dequeuniversity.com/rules/axe/2.2/label?application=lighthouse
1 parent 314a0ee commit ff1943b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/vue/layout/index.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969

7070
<div id="news">
7171
<div class="inner">
72-
<h3>Subscribe to our Weekly Newsletter</h3>
72+
<h3><label for="member_email">Subscribe to our Weekly Newsletter</label></h3>
7373
<form
7474
class="newsletter-form"
7575
id="revue-form"

0 commit comments

Comments
 (0)