Skip to content
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

fix(field): add field setInputId & remove ariaLabelledby prop #902

Merged
merged 3 commits into from
Apr 22, 2024

Conversation

mlmoravek
Copy link
Member

@mlmoravek mlmoravek commented Apr 21, 2024

Fixes #893

Proposed Changes

  • rename useFieldShare to fieldInjection
  • add a setInputId to field onjection data
  • remove ariaLabelledby prop from all input components
  • add an id prop to input and select with an genereated uuid as default

@mlmoravek mlmoravek added bug Something isn't working a11y Accessibility labels Apr 21, 2024
Copy link

netlify bot commented Apr 21, 2024

Deploy Preview for oruga-documentation-preview ready!

Name Link
🔨 Latest commit 02d1552
🔍 Latest deploy log https://app.netlify.com/sites/oruga-documentation-preview/deploys/6624db30a7deaa000865f608
😎 Deploy Preview https://deploy-preview-902--oruga-documentation-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mlmoravek
Copy link
Member Author

@messenjer could you please review my changes :)

@messenjer
Copy link
Contributor

Hello @mlmoravek , I tested on the PR deployed documentation : https://deploy-preview-902--oruga-documentation-preview.netlify.app/components/Input.html

It works very well 👍 very nice improvement.

@mlmoravek mlmoravek merged commit 458d45c into develop Apr 22, 2024
6 of 7 checks passed
@mlmoravek mlmoravek deleted the bug/893/field-id branch April 22, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot select a o-field component using getByRole and an accessible name
2 participants