-
Notifications
You must be signed in to change notification settings - Fork 35
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
🐞 Bug: aria-current bei Navigations-Menüs ohne Unterpunkte wird nicht gesetzt #2043
Comments
@tim-laue - Ihr findet bestimmt schnell die fehlende Stelle. Könnt Ihr bitte forken und einfach einen PR stellen? https://github.com/public-ui/kolibri/blob/main/packages/library/src/components/nav/component.tsx |
@deleonio - An der betreffenden Stelle im Code steht ein Kommentar der explizit sagt, dass |
Hi @tim-laue, schau mal ca. 20 Zeilen weiter oben - dort wir aria-current gesetzt. Es ist quasi genau verkehrt herum. |
removed with v1.3 - ist schon seit längerem nicht mehr im code verknüpft |
fix with v1.3 |
@deleonio Habt ihr dieses Feature mit der aktuellen Version schon einmal getestet? Bei uns erscheint nach wie vor kein |
Fehlermeldung
Beschreibung des Fehlers
Siehe voriges Issue zum
aria-current
Attribut. In unserer Appplikation, die nur eine flache Liste von Menüpunkten hat, wird das Attribut nach wie vor nicht gesetzt.Reproduktion
Ist in der Code Sandbox direkt sichtbar.
Erwartetes Verhalten
Dass das Attribut auf
"page"
gesetzt wird.Screenshots
Desktop:
Zusätzlicher Kontext
Hansell hat hierzu den Quellcode schon einmal untersucht. Hier wird, wenn der Menüpunkt keine Children hat, das
aria-current
Attribut explizit nicht gesetzt. Warum ist das so?The text was updated successfully, but these errors were encountered: