We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6f45b2 commit 43b84bdCopy full SHA for 43b84bd
2 files changed
plugins/gh-datainmap/CHANGELOG.md
@@ -1,3 +1,4 @@
1
+- Na kiezen van loocatie met toetsenbord wordt de focus nu direct op het feature modal gezet.
2
- Focus blijft met tabben nu binnen feature modal totdat deze wordt gesloten.
3
- Zoomknoppen zijn nu voorzien van een `aria-label`.
4
- Het overzicht met layers geeft nu ook het type en de transparantie aan.
src/components/feature.js
@@ -136,6 +136,7 @@ export default class FeatureComponent extends Component {
136
if(this.props.feature !== null) {
137
document.body.classList.add('gh-dim-modal-open');
138
if(typeof this.props.cb === 'function') {
139
+ this.refModal.current.focus();
140
this.props.cb(this.props.feature);
141
}
142
0 commit comments