Web-Map-Custom-Element
Web-Map-Custom-Element copied to clipboard
A custom <mapml-viewer> and <layer-> element suite
Dark mode experiment doc: https://maps4html.org/experiments/styling/dark-mode/. Investigate whether authors expect the map UI to have a default color scheme suitable for dark mode experiences (applied conditionally based on user preferences). Styling...
In line with Open UI's [component spec template](https://github.com/openui/open-ui/blob/main/research/src/pages/component-spec-template.mdx#anatomy-) we should name parts of components using the HTML [`part` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part). This would enable author- and user style sheets (requested in https://github.com/Maps4HTML/Web-Map-Custom-Element/issues/297)...
Ensure feature links work and make sense to keyboard and screen reader users: https://maps4html.org/experiments/linking/features/ It might be a good idea to produce some questions for a tester, similar to https://github.com/Maps4HTML/Web-Map-Custom-Element/issues/335?
Currently, you have to cycle debug mode off/on in order to view the change.
Steps to reproduce: In firefox, visit: https://maps4html.org/experiments/custom-projections/BNG/ - hover over the layer control, the second layer _Surficial Geology - British Geological Survey_ is disabled - right click over the disabled...
Ensure all tests can run and pass on firefox browser: - [x] reticle.test.js - [x] axisInferring.test.js - [x] queryLink.test.js - [x] featureLinks.test.js - [ ] layerContextMenu.test.js - [ ] viewerContextMenu.test.js...
When using the mouse to click the zoom in/out buttons, the crosshair initially does not appear. After focusing the map by tabbing then clicking off the map to blur it,...
Changing style in layer control is too immediate, doesn't allow user to listen to available options
This is a result of using a radio group for this control, and not implementing a custom control; the change / click event is used to trigger the replacement of...
According to our eyes and #335, when using FireFox on MacOS, if you open a popup and hit Tab, instead of moving to the |< affordance (the first after the...
Investigate if/where to use: ## [System colors](https://developer.mozilla.org/en-US/docs/Web/CSS/system-color) - [x] [`LinkText` is currently used for interactive features](https://github.com/Maps4HTML/Web-Map-Custom-Element/blob/14375f26c641a03c74cb798856d63a9c232caa27/src/mapml/layers/FeatureLayer.js#L32) (`stroke`) - [ ] The SVG for markers should perhaps default to `LinkText` (`fill`,...