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

Remove quote character from Content Toggle wrap attributes #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sabernhardt
Copy link

An extra quotation mark prints in the title wrap element before aria-controls:

<div class="wp-block-ub-content-toggle-accordion-title-wrap"" aria-controls="ub-content-toggle-panel-0-2560fff7-1bf0-49ec-938a-886b56a88179" tabindex="0">

It also can add the extra quote character with style="background-color: #ccc;" or aria-disabled="true".

This pull request removes the character plus unnecessary concatenation before aria-expanded.

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.

1 participant