-
Notifications
You must be signed in to change notification settings - Fork 13k
refactor(admin): remove unnecessary aria-label in MultiSelectSettingInput #38303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
refactor(admin): remove unnecessary aria-label in MultiSelectSettingInput #38303
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
🦋 Changeset detectedLatest commit: 50534a1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 40 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
|
WalkthroughThis PR removes an unnecessary Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 2 files
Title:
refactor(admin): remove unnecessary aria-label in MultiSelectSettingInput
Description:
Proposed changes
Removes the aria-label workaround in MultiSelectSettingInput.tsx. The component now relies on the standard FieldLabel association via htmlFor, aligning with accessibility best practices and removing a legacy FIXME comment.
Changes made:
This brings the MultiSelect input in line with how other setting inputs handle label associations.
Issue(s)
Resolves FIXME in apps/meteor/client/views/admin/settings/Setting/inputs/MultiSelectSettingInput.tsx
Steps to test or reproduce
Navigate to Administration → Settings
Find any setting that uses a MultiSelect input (e.g., Accounts → Preferences)
Test accessibility:
Verify the input functions normally (selecting/deselecting values works as expected)
Further comments
This creates a cleaner, more semantic DOM structure and follows the accessibility pattern used consistently throughout the settings UI. The htmlFor association is the standard way to connect labels with form inputs, making the aria-label redundant.
Key improvements:
Summary by CodeRabbit
Release Notes
✏️ Tip: You can customize this high-level summary in your review settings.