em or in some cases
h1-h6 heading elements must be used instead of
- In inline formatting use, the
i elements do not convey the semantics of the text content.
i elements are often misused for emphasizing words in a sentence, or to change the styling of content being used as a section header in the page.
|WCAG Success Criteria
4.1.1 Parsing (Level A, Primary Success Criterion)
- If a
b element is being used in a sentence for emphasizing a word or phrase, replace it with the
- If an
i element is being used in a sentence for emphasizing a word or phrase, replace it with the
- If a
i element is being used to style a section heading, replace it with an
h1-h6 heading element, depending on the level of heading needed in accordance with the structure of the page.