Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature: Tooltips und aria-labels bei Bedarf abweichen lassen #7358

Open
deleonio opened this issue Feb 5, 2025 · 0 comments
Open

🚀 Feature: Tooltips und aria-labels bei Bedarf abweichen lassen #7358

deleonio opened this issue Feb 5, 2025 · 0 comments
Labels
desybri The task is assigned to the DESYBRI design system. feature New feature or request v2 v3 Here are issues that need to be resolved for version 3.

Comments

@deleonio
Copy link
Contributor

deleonio commented Feb 5, 2025

Discussed in #7278

Originally posted by gkollotzek January 23, 2025

Goals

In bestimmten Anwendungsfällen ist es hilfreich im aria-label noch weiteren Kontext geben zu können, der aber beim visuellen Tooltip nicht notwendig ist.

Background

Wir haben eine Liste von Filter-Badges, die geschlossen werden können. Der Tooltip-Text und das aria-label sind für alle Schließen-Buttons "Filter entfernen".

image

In einer BITV-Prüfung kam der Hinweis:
"Filter Entfernen" sollte den entsprechenden Filter im zugänglichen Namen enthalten zur besseren Unterscheidbarkeit.

Es ist nicht möglich einen Text beim Tooltip und einen anderen Text beim aria-label zu setzen. Das wäre in diesem Fall aber sehr hilfreich, so könnte im aria-label auch der entsprechende Filtername gesetzt werden. Für sehende Nutzer macht es keinen Sinn den Filter im Tooltip zu zeigen, da so auch der Tooltiptext sehr lang werden kann.

Proposal

Ermöglichen einen Text beim Tooltip und einen anderen Text beim aria-label zu setzen. So könnte im aria-label auch der entsprechende Filtername gesetzt werden.

image

@deleonio deleonio added the feature New feature or request label Feb 5, 2025
@deleonio deleonio added desybri The task is assigned to the DESYBRI design system. v2 v3 Here are issues that need to be resolved for version 3. labels Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desybri The task is assigned to the DESYBRI design system. feature New feature or request v2 v3 Here are issues that need to be resolved for version 3.
Projects
Status: No status
Development

No branches or pull requests

1 participant