summaryrefslogtreecommitdiffstats
path: root/wp-content/themes/default/comments.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-content/themes/default/comments.php')
-rw-r--r--wp-content/themes/default/comments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-content/themes/default/comments.php b/wp-content/themes/default/comments.php
index 08b1be1..ec2f6c4 100644
--- a/wp-content/themes/default/comments.php
+++ b/wp-content/themes/default/comments.php
@@ -78,10 +78,10 @@
<?php else : ?>
-<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
+<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>
-<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
+<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />