fix(quick-260921-bi2): a11y - Dashboard-Widgets und Portal-Startseite

useButtonType: "Widget hinzufuegen"-, Bearbeiten-Modus- und Katalog-Buttons
(kein Formular in diesen Dateien) erhalten type="button".

noSvgWithoutTitle: Widget-Icons in der Katalog-Kachel (immer neben dem
Widget-Namen) und Buttons mit bestehendem aria-label/title werden dekorativ
(aria-hidden="true"); der bislang unbeschriftete Such-Button im Such-Widget
erhaelt aria-label={t('search.searchButton')} (neuer Schluessel, siehe
vorherige i18n-Festschreibung).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TPPB4ApQxzSU1rwV2Ffj9J
This commit is contained in:
2026-09-21 09:21:34 +02:00
parent 278aedb201
commit 969fd01f5c
7 changed files with 20 additions and 0 deletions
@@ -76,11 +76,13 @@ export function WidgetCatalogModal({
{t('catalogTitle')}
</h2>
<button
type="button"
onClick={onClose}
className="rounded-md p-1 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
aria-label="Close"
>
<svg
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
@@ -105,6 +107,7 @@ export function WidgetCatalogModal({
return (
<button
key={type}
type="button"
onClick={() => {
onAddWidget(type);
onClose();