Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Dec 1, 2023

☑️ Resolves

If no text should be shown currently you have to provide the label as a span with hidden-visually, because the aria-label would not be forwarded correctly.

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable

@susnux susnux added enhancement New feature or request 3. to review Waiting for reviews feature: checkbox-radio-switch Related to the checkbox-radio-switch component labels Dec 1, 2023
@susnux susnux added this to the 8.3.0 milestone Dec 1, 2023
@susnux
Copy link
Contributor Author

susnux commented Dec 1, 2023

Alternative would be disable forwarding attr and filter for any aria attribute and move them to the input.

@ShGKme
Copy link
Contributor

ShGKme commented Dec 1, 2023

Alternative would be disable forwarding attr and filter for any aria attribute and move them to the input.

Forwarding attrs (without filtering) may make sense as this component is (sometimes) an <input> wrapper.

But we already have a long list of <input>'s attrs in props anyway.

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

Labels

4. to release Ready to be released and/or waiting for tests to finish enhancement New feature or request feature: checkbox-radio-switch Related to the checkbox-radio-switch component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants