SiteLint

  1. Home
  2. Docs
  3. SiteLint
  4. Accessibility Rules
  5. font-style-italic

font-style-italic

Print this article

Description

This rule verifies if there is defined font-style type italic for a text with length more than 80 characters.

Context

WCAG Understanding Guideline 3.1 includes an advisory technique for avoiding chunks of italic text. Similarly WebAIM advises as follows: Do not use italics or bold on long sections of text, but at the same time use various stylistic elements (italics, bold, color, brief animation, or differently-styled content) to highlight important content.

This rule checks 2 cases:

  • Determine reasonable text length – must be less than 80 characters.
  • Determine if element has defined font-style type italic.

How to fix it

The rule passes when specified element contains text with a length of more than 80 characters and has no defined style font-style type italic.

Standard

Best Practices

Was this article helpful to you? Yes No
SiteLint Audits: Monitoring in real-time Accessibility, Performance, Privacy, Security, SEO, Runtime Errors and Console Logs