WAI-ARIA: Role=Contentinfo
A large perceivable region that contains information about the parent document.
Description
A large perceivable region that contains information about the parent document.
Examples of information included in this region of the page are copyrights and links to privacy statements.
User agents SHOULD treat elements with the role of contentinfo as navigational landmarks.
Within any document or application, the author SHOULD mark no more than one element with the contentinfo role.
Note: Because document and application elements can be nested in the DOM, they may have multiple contentinfo elements as DOM descendants, assuming each of those is associated with different document nodes, either by a DOM nesting (e.g., document within document) or by use of the aria-owns attribute.
Role=Contentinfo Example
HTML Example
<p role="contentinfo">
Author: Albert Einstein<br>
Published: August 15, 1940
</p>
HTML Example 2
<div role="contentinfo">
<h2>Contact, Policies and Legal<h2>
.... contentinfo area content ....
</div>
Characteristics
Superclass Role
- landmark
Required Attributes
- none
Optional Attributes
- aria-labelledby
- aria-label
Requires Scripting
- No
Inherited States and Properties
- aria-atomic
- aria-busy (state)
- aria-controls
- aria-current (state)
- aria-describedby
- aria-details
- aria-disabled (state)
- aria-dropeffect
- aria-errormessage
- aria-expanded (state)
- aria-flowto
- aria-grabbed (state)
- aria-haspopup
- aria-hidden (state)
- aria-invalid (state)
- aria-keyshortcuts
- aria-label
- aria-labelledby
- aria-live
- aria-owns
- aria-relevant
- aria-roledescription
Name From
- author
Semantic HTML
Use the HTML5 <footer> tag for footer elements.
<footer>
Some copyright info or perhaps some author
info for an <article>?
</footer>
Recommended to be used on one footer element per page if the footer element is used as described for role=”contentinfo”.
Reference
- WAI-ARIA 1.2 Specification
Refer to the notes from the WAI-ARIA 1.2 specification for more information on role=contentinfo.