wet-boew / wet-boew-styleguide

A style guide for the Web Experience Toolkit.
http://wet-boew.github.io/wet-boew-styleguide/index-en.html
35 stars 32 forks source link

Form Validation Implementation Example Incorrect #283

Closed CalvinRodo closed 7 years ago

CalvinRodo commented 7 years ago

The following line code example is incorrect

<label for="fname1">
    <span class="field-name">First Name</span> <strong>(required)</strong>
</label>

The strong tag around (required) needs to have the class required added to it otherwise the text (required) is black not red:

<label for="fname1">
    <span class="field-name">First Name</span> <strong class="required">(required)</strong>
</label>
CalvinRodo commented 7 years ago

@MaximMartel

TTVXStarWake commented 7 years ago

Thanks @CalvinRodo !

TTVXStarWake commented 7 years ago

@CalvinRodo

https://github.com/wet-boew/wet-boew/pull/7661

TTVXStarWake commented 7 years ago

Since wet-boew/wet-boew#7661 has been merged with this fix, closing this issue.