a11y(toolbar): Widget-Toolbar als role=toolbar mit aria-label

This commit is contained in:
2026-06-13 21:01:14 +02:00
parent 3e93efb785
commit 4e527b19d5
+1 -1
View File
@@ -60,7 +60,7 @@
</div> </div>
<!-- WIDGET TOOLBAR --> <!-- WIDGET TOOLBAR -->
<div class="widget-toolbar" id="widgetToolbar"> <div class="widget-toolbar" id="widgetToolbar" role="toolbar" aria-orientation="vertical" data-i18n-aria-label="toolbar.label">
<button class="widget-toolbar-btn" data-action="new-note" data-i18n-title="toolbar.note" title="Note erstellen"> <button class="widget-toolbar-btn" data-action="new-note" data-i18n-title="toolbar.note" title="Note erstellen">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 20h9"/><path d="M16.5 3.5a2.121 2.121 0 013 3L7 19l-4 1 1-4L16.5 3.5z"/></svg> <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 20h9"/><path d="M16.5 3.5a2.121 2.121 0 013 3L7 19l-4 1 1-4L16.5 3.5z"/></svg>
</button> </button>