Skip to content

Conversation

@Destinyyyy
Copy link
Contributor

@Destinyyyy Destinyyyy commented Nov 5, 2025

Description

During an RGAA audit, it's been pointed out that there was an empty p/div whenever the description was empty.
The DescriptionTag node was being rendered even if the description property wasn't provided.

Fix

Don't render the DescriptionTag if description isn't provided

@Destinyyyy Destinyyyy changed the title [Frontend] chore: removing DescriptionTag if description not provided Fix : removing DescriptionTag if description not provided Nov 5, 2025
@ddecrulle ddecrulle merged commit 80dad87 into codegouvfr:main Nov 6, 2025
1 check passed
@ddecrulle
Copy link
Collaborator

Thank's

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants