-
Notifications
You must be signed in to change notification settings - Fork 85
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
[CC-33995] Keyboard accessible B2B #571
base: master
Are you sure you want to change the base?
Conversation
src/Pyz/Yves/CatalogPage/Theme/default/templates/page-layout-catalog/page-layout-catalog.twig
Outdated
Show resolved
Hide resolved
.../Yves/CheckoutPage/Theme/default/components/molecules/summary-overview/summary-overview.twig
Outdated
Show resolved
Hide resolved
src/Pyz/Yves/CompanyPage/Theme/default/templates/page-layout-company/page-layout-company.twig
Outdated
Show resolved
Hide resolved
...Pyz/Yves/CustomerPage/Theme/default/templates/page-layout-customer/page-layout-customer.twig
Outdated
Show resolved
Hide resolved
...yz/Yves/ProductImageWidget/Theme/default/components/molecules/image-gallery/image-gallery.ts
Outdated
Show resolved
Hide resolved
src/Pyz/Yves/ShopUi/Theme/default/components/molecules/custom-select/custom-select.scss
Show resolved
Hide resolved
src/Pyz/Yves/ShopUi/Theme/default/components/molecules/date-time-picker/date-time-picker.ts
Outdated
Show resolved
Hide resolved
src/Pyz/Yves/ShopUi/Theme/default/components/molecules/date-time-picker/date-time-picker.ts
Show resolved
Hide resolved
src/Pyz/Yves/ShopUi/Theme/default/components/organisms/header/header.twig
Outdated
Show resolved
Hide resolved
src/Pyz/Yves/ShopUi/Theme/default/templates/page-layout-main/page-layout-main.twig
Outdated
Show resolved
Hide resolved
src/Pyz/Yves/CatalogPage/Theme/default/templates/page-layout-catalog/page-layout-catalog.twig
Outdated
Show resolved
Hide resolved
src/Pyz/Yves/ShopUi/Theme/default/components/molecules/custom-select/custom-select.scss
Show resolved
Hide resolved
src/Pyz/Yves/ShopUi/Theme/default/components/molecules/date-time-picker/date-time-picker.ts
Outdated
Show resolved
Hide resolved
src/Pyz/Yves/ShopUi/Theme/default/components/organisms/header/header.twig
Outdated
Show resolved
Hide resolved
@@ -2,7 +2,16 @@ | |||
|
|||
{% block contentClass %}page-layout-main page-layout-main--catalog-page{% endblock %} | |||
|
|||
{% set catalogProductListId = 'catalog-product-list' %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to redefine it, as we have it in core. Please, recheck in all templates/components
{% define attributes = { | ||
navigationId: '', | ||
} %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use header from core? and omit all this params redefining?
{%- block class -%}{{ pageLayoutMainJsClassName }}__side-drawer-container{%- endblock -%} | ||
|
||
{% set navigationId = 'main-navigation' %} | ||
{% set mainContentId = 'main-content' %} | ||
|
||
{% block body %} | ||
{% include molecule('skip-link') with { | ||
data: { | ||
href: navigationId, | ||
text: 'global.skip-to-navigation' | trans, | ||
}, | ||
} only %} | ||
|
||
{% include molecule('skip-link') with { | ||
data: { | ||
href: mainContentId, | ||
text: 'global.skip-to-content' | trans, | ||
}, | ||
} only %} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order if we override only viewport
block we can omit all these code duplication
Overview
Ticket: https://spryker.atlassian.net/browse/CC-33995
PR with comments to fix [OLD] [CC-33996] Adds keyboard accessibility #570