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(web-react): Accordion DOM errors #DS-948 #1152

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

pavelklibani
Copy link
Contributor

@pavelklibani pavelklibani commented Nov 15, 2023

Description

  • Fixed errors about labelledById in console
  • Fixed basic accordion demo (all items could be opened, not just one as in other demo)

Additional context

Removed id and labelledById because ARIA props are handled by useAccordionAriaProps hook.
These properties were mistakenly copied from the Twig demo.

Issue reference

web-react: Accordeon chyby v DOM

@pavelklibani pavelklibani self-assigned this Nov 15, 2023
@pavelklibani pavelklibani requested review from literat and a team as code owners November 15, 2023 13:35
Copy link

netlify bot commented Nov 15, 2023

Deploy Preview for spirit-design-system-storybook ready!

Name Link
🔨 Latest commit 8309073
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-storybook/deploys/6554ccb6c008480008817f79
😎 Deploy Preview https://deploy-preview-1152--spirit-design-system-storybook.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.

@github-actions github-actions bot added the bug Something isn't working label Nov 15, 2023
Copy link

netlify bot commented Nov 15, 2023

Deploy Preview for spirit-design-system-demo canceled.

Name Link
🔨 Latest commit 8309073
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-demo/deploys/6554ccb6850c3f0007a81da0

Copy link

netlify bot commented Nov 15, 2023

Deploy Preview for spirit-design-system-validations canceled.

Name Link
🔨 Latest commit 8309073
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-validations/deploys/6554ccb6b87aa70008c31be8

Copy link

netlify bot commented Nov 15, 2023

Deploy Preview for spirit-design-system-react ready!

Name Link
🔨 Latest commit 8309073
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-react/deploys/6554ccb64a0b1e0008f94855
😎 Deploy Preview https://deploy-preview-1152--spirit-design-system-react.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.

@coveralls
Copy link

coveralls commented Nov 15, 2023

Coverage Status

coverage: 84.774% (-11.7%) from 96.46%
when pulling 8309073 on fix/DS-948-accordion-dom-erros
into 75a0272 on main.

- Fixed errors about labelledById in console
- Fixed basic accordion demo (all items could be opened, not just one
as in other demo)
@pavelklibani pavelklibani force-pushed the fix/DS-948-accordion-dom-erros branch from b32a230 to 8309073 Compare November 15, 2023 13:50
Copy link
Collaborator

@literat literat left a comment

Choose a reason for hiding this comment

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

Nice Job 👍

@pavelklibani pavelklibani merged commit 3f87401 into main Nov 20, 2023
19 checks passed
@pavelklibani pavelklibani deleted the fix/DS-948-accordion-dom-erros branch November 20, 2023 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants