Use <map-featurecaption> as the feature label and accessible name by default #947
Labels
accessibility
basic styling
Elements should only have basic and native-like styling (W3C TAG Components Guideline)
enhancement
help wanted
needs discussion
user preferences
Allow user to set a remembered value across domains
If a <map-feature> contains a <map-featurecaption>, the feature should be visually labelled, using map text label defaults built into the user agent stylesheet, amended by the user stylesheet and potentially customized by the server-provided style rules found in <map-link rel=stylesheet> and <map-style>.
The <map-geometry> should be used to control the label placement algorithm.
If a feature is tiled into parts, it should be possible to merge the geometry parts using a standard attribute name which has a common value across the parts. The label placement algorthim could use the resulting re-assembled geometry as required.
CSS rules could be used to substitute content to be rendered in place of <map-featurecaption>, but <map-featurecaption> would be the "batteries-included" default, which would help accessibility I think.
The text was updated successfully, but these errors were encountered: