role=button on disclosure

This commit is contained in:
Milos Brzakovic (E-Search)
2021-11-30 14:26:42 +01:00
parent 50de029efa
commit 041332045d
+1
View File
@@ -31,6 +31,7 @@ export function uiDisclosure(context, key, expandedDefault) {
// enter
var hideToggleEnter = hideToggle.enter()
.append('a')
.attr('role', 'button')
.attr('href', '#')
.attr('class', 'hide-toggle hide-toggle-' + key)
.call(svgIcon('', 'pre-text', 'hide-toggle-icon'));