The section role, an abstract role, is a superclass role for renderable structural containment components.
[!WARNING] The
sectionrole is an abstract role. It is included here for completeness of documentation. It should not be used by web authors.
Description
The structural section role is an abstract role for categorizing all the section subclass roles. The role must not be used. Some subclasses, like alert,
note, and tooltip are useful, and can be used to add semantics when no semantic HTML elements quite fit the purpose of a component. Others, like code, figure, and subscript, aren't necessary, as there are HTML element equivalents. In this case, code figure and sub, respectively.
Specifications
See also
- ARIA:
structurerole - ARIA:
alertrole - ARIA:
associationlistrole - ARIA:
associationlistitemkeyrole - ARIA:
associationlistitemvaluerole - ARIA:
blockquoterole - ARIA:
captionrole - ARIA:
cellrole - ARIA:
coderole - ARIA:
definitionrole - ARIA:
deletionrole - ARIA:
emphasisrole - ARIA:
figurerole - ARIA:
grouprole - ARIA:
imgrole - ARIA:
insertionrole - ARIA:
landmarkrole - ARIA:
listrole - ARIA:
listitemrole - ARIA:
logrole - ARIA:
markrole - ARIA:
marqueerole - ARIA:
mathrole - ARIA:
noterole - ARIA:
paragraphrole - ARIA:
statusrole - ARIA:
strongrole - ARIA:
subscriptrole - ARIA:
suggestionrole - ARIA:
superscriptrole - ARIA:
tablerole - ARIA:
tabpanelrole - ARIA:
termrole - ARIA:
timerole - ARIA:
tooltiprole
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
