Closed xmrsa closed 1 month ago
Thanks for reporting this! 🙌 I agree with you conclusion. Seems like a bug where the describedBy is not removed when there are no description. We should test if this only occurs with textarea or if the bug is present on other components as well.
Related to:
Noen planer om å fikse denne issuen snart? Det er litt irriterende å få feilmelding i Wave når det egentlig ikke er vi skjemautviklere som har gjort noe feil.
@xmrsa Jeg kjenner ikke til noen umiddelbare planer, dessverre. Vi prøver å ta noen feilrapporter innimellom, spesielt om de er alvorlige, men det er mye å gjøre - for mye til at vi klarer å tilfredsstille alle behov, dessverre. Siden dere har kjøpt dere en egen prioriteringskø (eller et forbikjøringsfelt, om du vil) vil jeg anbefale å ta det videre internt hos dere og eventuelt flytte dette opp på lista om denne fiksen bør komme før andre ting.
I can not reproduce this issue. The issue seems to have been fixed by using the Designsystemet Textarea component in the PR: https://github.com/Altinn/app-frontend-react/pull/2213
Description of the bug
When I have a TextArea with only a title-text, Wave gives an error like this:
The mistake is that the aria-reference uses the "description". When I add a description it looks fine in Wave:
But I don't want a description her, I only want the title-element, like this:
{ "id": "TextArea-kommentarer-til-omsetningssiden", "type": "TextArea", "dataModelBindings": { "simpleBinding": "SkjemaData.KommentarSide.kommOmsetning" }, "required": false, "textResourceBindings": { "title": "lang.kommentarer.til.spoersmaal.siden.title" } },
Steps To Reproduce
Additional Information
No response