body element must only
document (default) or
application role semantics. NOTE: Deprecated in favor of HTML 3 a more general rule on role restrictions based on ARIA in HTML specification.
body element has role restrictions as part of its definition in the W3C HTML5 Specification.
body element should only be used to indicate whether the page is primarily has
- The default (e.g. no
role attribute) is
document role semantics.
HTML4 Legacy Techniques
HTML5 and ARIA Techniques
|WCAG Success Criteria
1.3.1 Info and Relationships (Level A, Primary Success Criterion)
- If the web page is primarily composed of forms and widgets that benefit from using the
role="application" on the
- If the web page is primarily composed of non interactive text and images do not use the
role attribute on the