A Well is a content container that displays non-editable content separate from other content on the screen.
Often this is used to display preformatted text, such as code/markup examples on a documentation page.
By default, the visual separation of a Well is not conveyed to assistive technologies. As such it should be used where this separation makes no difference in understanding the content.
However, if the Well does convey semantic meaning then a role must be specified and, if appropriate, labeled using either aria-label or aria-labelledby.
<Wellrole="region"aria-labelledby="wellLabel"><h3id="wellLabel">Shipping Address</h3><p>
601 Townsend Street
<br/> San Francisco, CA 94103
</p></Well>
<Wellrole="region"aria-labelledby="wellLabel"><h3id="wellLabel">Shipping Address</h3><p>
601 Townsend Street
<br/> San Francisco, CA 94103
</p></Well>
<Wellrole="region"aria-labelledby="wellLabel"><h3id="wellLabel">
Shipping Address
</h3><p>
601 Townsend Street
<br/> San
Francisco, CA 94103
</p></Well>
An accessibility role for the well. Use 'region' when the contents of the well
is important enough to be included in the page table of contents, and 'group' otherwise.
If a role is provided, then an aria-label or aria-labelledby must also be provided.