Skip to content

feat: input-checkbox: console error when aria-label property set#6785

Merged
margaree merged 2 commits intomainfrom
mpeacocke/checkbox-input-console-error-arial-label
Apr 21, 2026
Merged

feat: input-checkbox: console error when aria-label property set#6785
margaree merged 2 commits intomainfrom
mpeacocke/checkbox-input-console-error-arial-label

Conversation

@margaree
Copy link
Copy Markdown
Contributor

@margaree margaree commented Apr 10, 2026

GAUD-9677

Adds a console error when aria-label is set in case there were any places setting it in an unexpected way (since it's tricky to do a full search on this) so that we can clean them up before full removal.

This could be considered excessive so let me know thoughts on this; on one hand a non-sighted user would still get the information communicated to them using the aria-label but on the other hand it wouldn't be getting communicated in the expected way.

@github-actions
Copy link
Copy Markdown
Contributor

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://live.d2l.dev/prs/BrightspaceUI/core/pr-6785/

Note

The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

@margaree margaree changed the title [ignore for now] feat: input-checkbox: console error when aria-label property set feat: input-checkbox: console error when aria-label property set Apr 21, 2026
@margaree margaree marked this pull request as ready for review April 21, 2026 12:53
@margaree margaree requested a review from a team as a code owner April 21, 2026 12:53
Copy link
Copy Markdown
Member

@dlockhart dlockhart left a comment

Choose a reason for hiding this comment

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

Seems good to me -- we could also search for these errors in the JS error tracking stuff to find unexpected usages before removing.

@margaree margaree merged commit 609d842 into main Apr 21, 2026
7 checks passed
@margaree margaree deleted the mpeacocke/checkbox-input-console-error-arial-label branch April 21, 2026 14:18
@d2l-github-release-tokens
Copy link
Copy Markdown

🎉 This PR is included in version 3.237.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants