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(cdk/accordion): improve accessibility in example code #30087

Merged

Conversation

Sepandard
Copy link
Contributor

Updated the example code for the CDK accordion component to address accessibility issues

resolves #30041

@Sepandard Sepandard requested a review from a team as a code owner November 26, 2024 10:54
@Sepandard Sepandard requested review from crisbeto and amysorto and removed request for a team November 26, 2024 10:54
Click to {{ accordionItem.expanded ? 'close' : 'open' }}
</span>
</button>
@if(accordionItem.expanded){
Copy link
Member

Choose a reason for hiding this comment

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

nit: the formatting is off here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I fix formatting problem in if statement. @crisbeto

@Sepandard Sepandard force-pushed the fix-cdk-accordion-accessibility-example branch from 084bcba to 543b356 Compare November 28, 2024 11:32
Updated the example code for the CDK accordion component to address accessibility issues

resolves angular#30041
@Sepandard Sepandard force-pushed the fix-cdk-accordion-accessibility-example branch from 543b356 to 3f44146 Compare November 28, 2024 11:37
@crisbeto crisbeto added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Nov 29, 2024
@crisbeto crisbeto removed the request for review from amysorto November 29, 2024 09:34
@crisbeto crisbeto merged commit de6c491 into angular:main Nov 29, 2024
23 of 25 checks passed
crisbeto pushed a commit that referenced this pull request Nov 29, 2024
Updated the example code for the CDK accordion component to address accessibility issues

resolves #30041

(cherry picked from commit de6c491)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: cdk/accordion target: patch This PR is targeted for the next patch release
Projects
None yet
2 participants