Non semantic emphasis tag detected
| Field | Value |
|---|---|
| Rule code | BadTag_Emphasis_Detect |
| WCAG conformance level | A |
| WCAG success criterion | 1.3.1 Info and Relationships |
| Must be fixed at source | No |
Description
HTML tags used for emphasis such as the b (bold) and i (italics) tags were detected. We recommend using emphasis tags that are semantically correct, such as the strong and em HTML tags instead. The strong tag is used for bolding emphasis and the em tag is used for italicized emphasis. Using the correct semantic emphasis tags helps ensure that information, structure, and relationships can be programmatically determined.
How to fix
Replace <b> with <strong> for strong emphasis, and <i> with <em> for italicized emphasis, ensuring semantic meaning is conveyed.