Skip to main content

<map-caption>

The <map-caption> element is a child of <mapml-viewer> and is used to define a simple text string that is not visually rendered (at this time). The caption should be read by screen readers when the <mapml-viewer> is focused, as it generates the <mapml-viewer aria-label="..."> value, if no aria-label has been specified by the HTML author. <map-caption> may be the first or last element child of <mapml-viewer>.


Specifications

Specification
MapML caption element

Requirements

Report problems with these requirements on GitHub

requirement enhancement impractical undecided under discussion

SpecViewerAPI
Interpreting locations & map positions (5.3)
Provide an accessible name for a map
under discussionprovisionalunder discussion