From 782111e68ebc573796d9f443b235e6ccd38c14b6 Mon Sep 17 00:00:00 2001 From: Olga Lytvynenko <olytvynenko@magento.com> Date: Mon, 22 Aug 2016 13:23:22 +0300 Subject: [PATCH] MAGETWO-55394: [WCAG 2.0] Add role="alert" to All Messages Appearing On the Storefront - Merge remote-tracking branch 'origin' into MAGETWO-55394 - Conflicts: - app/code/Magento/Cookie/view/frontend/templates/html/notices.phtml --- .../Cookie/view/frontend/templates/html/notices.phtml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/code/Magento/Cookie/view/frontend/templates/html/notices.phtml b/app/code/Magento/Cookie/view/frontend/templates/html/notices.phtml index 948addc92ef..f7aaf538ae9 100644 --- a/app/code/Magento/Cookie/view/frontend/templates/html/notices.phtml +++ b/app/code/Magento/Cookie/view/frontend/templates/html/notices.phtml @@ -32,10 +32,10 @@ "#notice-cookie-block": { "cookieNotices": { "cookieAllowButtonSelector": "#btn-cookie-allow", - "cookieName": "<?php /* @escapeNotVerified */ echo \Magento\Cookie\Helper\Cookie::IS_USER_ALLOWED_SAVE_COOKIE ?>", - "cookieValue": <?php /* @escapeNotVerified */ echo $this->helper('Magento\Cookie\Helper\Cookie')->getAcceptedSaveCookiesWebsiteIds() ?>, - "cookieLifetime": <?php /* @escapeNotVerified */ echo $this->helper('Magento\Cookie\Helper\Cookie')->getCookieRestrictionLifetime()?>, - "noCookiesUrl": "<?php /* @escapeNotVerified */ echo $block->getUrl('cookie/index/noCookies') ?>" + "cookieName": "<?php /* @noEscape */ echo \Magento\Cookie\Helper\Cookie::IS_USER_ALLOWED_SAVE_COOKIE ?>", + "cookieValue": <?php /* @noEscape */ echo $this->helper(\Magento\Cookie\Helper\Cookie::class)->getAcceptedSaveCookiesWebsiteIds() ?>, + "cookieLifetime": <?php /* @noEscape */ echo $this->helper(\Magento\Cookie\Helper\Cookie::class)->getCookieRestrictionLifetime()?>, + "noCookiesUrl": "<?php echo $block->escapeUrl($block->getUrl('cookie/index/noCookies')) ?>" } } } -- GitLab