Skip to content

fix: accessibility errors#848

Merged
nicolaskempf57 merged 6 commits intomainfrom
fix/icon-a11y
Dec 31, 2025
Merged

fix: accessibility errors#848
nicolaskempf57 merged 6 commits intomainfrom
fix/icon-a11y

Conversation

@nicolaskempf57
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@ThibaudDauce ThibaudDauce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just small changes… I'm confused on the aria-hidden on the SVG (but not a big expert in a11y), could you audit if we use icon-only with a default slot anywhere? We may remove the icon-only if we don't use the with icon-only anymore.

Comment thread components/Onboarding/OnboardingAudienceCard.vue
Comment thread components/Pages/EditoHeader.vue
Comment thread components/AdminTable/AdminDiscussionsTable/AdminDiscussionsTable.vue Outdated
Comment thread components/SiteHeader/SiteHeader.vue Outdated
@nicolaskempf57
Copy link
Copy Markdown
Contributor Author

Just small changes… I'm confused on the aria-hidden on the SVG (but not a big expert in a11y), could you audit if we use icon-only with a default slot anywhere? We may remove the icon-only if we don't use the with icon-only anymore.

I removed this case because it was broken (the hasText condition is false when iconOnly is true) so the text was never added to the DOM. I thought it was used for css purposes too, but you're right, it seems that we don't require it at all.

@nicolaskempf57 nicolaskempf57 merged commit c11a5a3 into main Dec 31, 2025
4 of 5 checks passed
@nicolaskempf57 nicolaskempf57 deleted the fix/icon-a11y branch December 31, 2025 13:56
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