Skip to content

Conversation

@massimoghm
Copy link
Contributor

@massimoghm massimoghm commented Jan 24, 2025

aria-label for hamburger menù

Closes #934

aria-label for hamburger icon
update version to 6.0.5
@crftwrk crftwrk changed the base branch from main to Add-more-filters January 26, 2025 13:12
@crftwrk crftwrk changed the base branch from Add-more-filters to main January 26, 2025 13:12
@crftwrk crftwrk changed the base branch from main to Add-more-filters January 27, 2025 09:41
@crftwrk crftwrk changed the base branch from Add-more-filters to main January 27, 2025 09:43
@crftwrk
Copy link
Member

crftwrk commented Jan 27, 2025

Thank you, this is a good idea!

If we do that, we should add the aria-label to all buttons in the header. This are the search-toggler, account-toggler, mini-cart-toggler and the back-to-cart-toggler located in header-actions.php and header-actions-woocommerce.php in folder template-parts/header/.

Want to add them?

@crftwrk crftwrk self-requested a review January 27, 2025 09:55
aria-label for search toggler
aria-label for close button
Fixed aria-label for search button not correct insert
Update bootscore version
Update aria-label and Bootscore version
Fixed aria-label escape with esc_attr_e
Added aria-label for search input and search submit button.
Fixed esc_attr_e for placeholder.
Updated to 6.1.0
Updated to 6.1.0
@massimoghm
Copy link
Contributor Author

Updated, check if new escape method is correct. I think is more codex style.
Updated version to 6.1.0.

If you remember other accessibility points, tell me :)

Best regards

Fix for issues 442/934
Pull 757

Fix TinyMCE editor body margin and font-family that is overridden by Bootstrap editor-styles.
Fix TinyMCE editor body margin and font-family that is overridden by Bootstrap editor-styles, added the new require for tinymce-editor.php.
@crftwrk
Copy link
Member

crftwrk commented Jan 28, 2025

Next release will be on Feb. 24 alongside the WooCommerce 9.7 update. Not sure if we are ready to ship v6.1 until there. So version 6.0.5 is more safe.

Revert to 6.0.5 release
Revert to 6.0.5 release
Revert to 6.0.5 release
Revert to 6.0.5 release
Revert to 6.0.5 release
Revert to 6.0.5 release
@massimoghm
Copy link
Contributor Author

Revert to 6.0.5 release :)

header.php Outdated

<!-- Navbar Toggler -->
<button class="<?= apply_filters('bootscore/class/header/button', 'btn btn-outline-secondary', 'nav-toggler'); ?> <?= apply_filters('bootscore/class/header/navbar/toggler/breakpoint', 'd-lg-none'); ?> ms-1 ms-md-2 nav-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvas-navbar" aria-controls="offcanvas-navbar">
<button class="<?= apply_filters('bootscore/class/header/button', 'btn btn-outline-secondary', 'nav-toggler'); ?> <?= apply_filters('bootscore/class/header/navbar/toggler/breakpoint', 'd-lg-none'); ?> ms-1 ms-md-2 nav-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvas-navbar" aria-controls="offcanvas-navbar" aria-label="<?php esc_html_e( 'Toggle main menu', 'bootscore' ); ?>>
Copy link
Member

Choose a reason for hiding this comment

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

Why using esc_html_ehere while others uses esc_attr_e?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed

massimoghm and others added 2 commits January 28, 2025 11:57
Fixed with esc_attr_e for menu aria-label.
Copy link
Member

@crftwrk crftwrk left a comment

Choose a reason for hiding this comment

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

Thank you 🙏. Just fixed missing close " in header.php

@crftwrk crftwrk merged commit 3e7e893 into bootscore:main Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

[BUG] TinyMCE backend CSS on child theme

2 participants