img
Characteristics
Superclass Role:
- section
Related Concepts:
- DTB imggroup
- HTML img
Inherited States and Properties:
- aria-atomic
- aria-busy (state)
- aria-controls
- aria-describedby
- aria-disabled (state)
- aria-dropeffect
- aria-expanded (state)
- aria-flowto
- aria-grabbed (state)
- aria-haspopup
- aria-hidden (state)
- aria-invalid (state)
- aria-label
- aria-labelledby
- aria-live
- aria-owns
- aria-relevant
Name From:
- author
Accessible Name Required:
- True
Children Presentational:
- True
A container for a collection of elements that form an image.
An img can contain captions and descriptive text as well as multiple image files that, when viewed together, give the impression of a single image.
An img represents a single graphic within a document, whether or not it is formed by a collection of image objects. In order for elements with a role of img to be perceivable, authors must provide alternative text or a label determined by the accessible name calculation.
Syntax
<div role="img" alt="alternate text for the group"> <div>Elements of the group</div> </div>
Microsoft Active Accessibility accRole Property:
- ROLE_SYSTEM_GRAPHIC
UI Automation ControlType Property:
- Image
UI Automation AriaRole Property:
- img