Description

A fragment of computer code.

Allowed Content

Phrasing content

HTML Elements with Implicit ARIA Role

  • code

Allowed HTML Elements

  • code (role attribute unnecessary)
  • div, span, p, other elements that can receive any role