Skip to content

Conversation

@fhelfer
Copy link
Contributor

@fhelfer fhelfer commented Jan 30, 2026

Error: The “aria-label” attribute must not be used on any “label” element that is associated with a labelable element.
https://mantis.ilias.de/view.php?id=47063

Label with for= must not duplicate name via aria-label. Move
aria-label to the radio input; label remains for click target.
Apply to scale options and neutral option.


**PR Title:** `UI: Rating – aria-label am input statt am label`

**PR Description:**
```markdown
## Problem
- Validator: `<label for="..." aria-label="...">` ungültig, wenn das Label mit Formularelement verknüpft ist; Name soll aus Label-Inhalt kommen.

## Lösung
- aria-label vom label entfernt, auf das jeweilige input (radio) setzen.
- RatingInputTest anpassen.

@fhelfer fhelfer added bugfix kitchen sink php Pull requests that update Php code labels Jan 30, 2026
@BettyFromHH BettyFromHH added the css/html Pull requests that propose changes to CSS/SCSS or HTML files. label Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix css/html Pull requests that propose changes to CSS/SCSS or HTML files. kitchen sink php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants