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

Fixed to remove unnecessary aria-readonly #706

Merged
merged 10 commits into from
Feb 8, 2024

Conversation

apple-yagi
Copy link
Contributor

Closes #591

Description

Following components must only use allowed ARIA attributes.

  • DatePicker
  • MonthPicker
  • SegmentedControl
  • MultiAutocomplete
  • Autocomplete
  • PinInput
  • NativeSelect
  • Checkbox
  • Select

Current behavior (updates)

When setting isReadonly to the above components, aria-readonly is assigned to unnecessary elements.

New behavior

Removed unnecessary aria-readonly.

Is this a breaking change (Yes/No):

No

Copy link

changeset-bot bot commented Feb 5, 2024

🦋 Changeset detected

Latest commit: 6bac988

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages
Name Type
@yamada-ui/segmented-control Patch
@yamada-ui/native-select Patch
@yamada-ui/autocomplete Patch
@yamada-ui/pin-input Patch
@yamada-ui/calendar Patch
@yamada-ui/checkbox Patch
@yamada-ui/react Patch
vite Patch
@yamada-ui/switch Patch
@yamada-ui/table Patch

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

Copy link
Contributor

@umaidashi umaidashi left a comment

Choose a reason for hiding this comment

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

Sorry for the late review.

LGTM

@hirotomoyamada hirotomoyamada merged commit 39ab1f1 into yamada-ui:main Feb 8, 2024
5 checks passed
@hirotomoyamada
Copy link
Member

Thanks!

@github-actions github-actions bot mentioned this pull request Feb 8, 2024
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.

Elements must only use allowed ARIA attributes
3 participants