We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e23cb33 commit 68f717cCopy full SHA for 68f717c
2 files changed
plugins/gh-datainmap/CHANGELOG.md
@@ -1,4 +1,5 @@
1
- Documentatie wijziging, nieuwe URL voor standaard kaart.
2
+- De zoom in/uit-knoppen hebben nu een `aria-label` waar de zichtbare tekst in voor komt.
3
4
**1.10.1 (2021-10-06)**
5
src/components/map.js
@@ -47,7 +47,7 @@ export class MapComponent extends Component {
47
this.olMap.getControls().forEach((control) => {
48
if(control.element.className.indexOf('ol-zoom') != -1) {
49
control.element.children.forEach((el) => {
50
- el.setAttribute('aria-label', el.getAttribute('title'));
+ el.setAttribute('aria-label', el.getAttribute('title') + ' ' + el.textContent);
51
});
52
}
53
0 commit comments