18. u tag used to format text

1.3.1

u tag incorrect example

Description: The u tag is used to underline text.

Context: Styling-specific tags are discouraged for ADA-compliance, adjustments to appearance strictly for aesthetics should be restricted to CSS.

<u>
    <b>
        <a href="summer_housing">Summer Housing</a>
    </b>                                                                                              
</u>

How to fix it: Consider the following: If the text should be emphasized use semantic elements. If the text is a heading, an H-tag (such as H1, H2, H3…) should be used instead. If the text is highlighted as a visual effect, CSS should be used to do this.

<a class="bold underlined" href="summer_housing">Summer Housing</a>
.bold{
    font-weight: bold;
}
.underlined{
    text-decoration: underline;
}

Techniques: G115G140H49