Accessibility Fixes for Web Template Compliance with EAA Directive
Good morning,
Directive (EU) 2019/882 (EAA) establishes a common accessibility framework for certain products and services within the internal European market. Starting from the end of June, new e-commerce websites in Italy will be required to comply with accessibility regulations.
We have noticed that some elements in the current theme are not accessible, and we’re listing them below in case you’d like to consider addressing them in upcoming releases:
- Viewport: The viewport meta tag should allow vision-impaired users to pinch-zoom to at least twice the standard size by including and (or higher, or preferably not specifying it at all) in the content attribute.
- Back to Top:
<a id="back_to_top" aria-label="Back to top icon" class="button footer_button sticky scroll" href=""><i class="icon-up-open-big"></i></a>
- This element is missing an appropriate
role
attribute. - id="header_cart": This ID is not unique, as it appears in both the desktop and mobile headers.
- icon-mail-line in header:
<a href="mailto:[email protected]" aria-label="mail">info@mail</a>
The should match the displayed value and not use a generic label such as "mail".- feature_list: If there are 4 items split over two rows, the code includes after the first row like this:
<ul><li>text</li><li>text 2</li><hr><li>text 3</li><li>text 4</li></ul>
Note: the element is not valid inside a .- URLs in Menu: Menu items () all have but are not descendants of a container with .
- WooCommerce image_links: In WooCommerce > product-loop-thumb > image_links: Anchor () elements are missing or attributes.
- WooCommerce - Related Products: In the product detail page, the "Related Products" section uses an element. It may be more appropriate to use a tag styled with the class to maintain a correct heading hierarchy and avoid issues like “Heading elements are not in a sequentially-descending order.”
- Plus Icon in Header for Keyboard Use: Touch targets (e.g., the menu toggle) should be large and spaced enough to help users who have difficulty targeting small elements, especially for keyboard navigation.
- Landmarks: Landmarks such as main content and footer should use the appropriate HTML5 semantic elements (, ) or include both and attributes (e.g., or ). Landmarks for search and navigation are covered separately.
- Navigation Menus: Menus should be constructed using the HTML5 element or should include a or to be properly recognized by screen readers.
- Dropdown Menus - aria-haspopup: Menu items that contain dropdowns should include the attribute
- Dropdown Menus - aria-expanded: Dropdown menu items should have the attribute set to by default, changing to when the dropdown is open, and reverting to when closed.
- Links Opening in New Tab/Window: Links that open in a new tab or window should either have an attribute or a screen-reader-only element indicating that the link opens in a new tab.
Thanks you and good work
Comments
Hi,
I see that something went wrong with the number list. I will refer to your questions in the following form:
1) Viewport.
You can enable pinch to zoom in Betheme -> Theme options -> Responsive -> General:
2) Back to Top, id="header_cart", Plus Icon in Header for Keyboard Use, Dropdown Menus - aria-haspopup, Dropdown Menus - aria-expanded, Links Opening in New Tab/Window, WooCommerce image_links
I have passed it on to the dev team.
3) feature_list
Please attach a link to your website and a screenshot that shows it.
4) URLs in Menu, Landmarks, Navigation Menus
Sorry, but I do not understand what you refer to at these points.
Please explain that greater.
5) WooCommerce - Related Products
Do you mean a single product template? In it you can customize the title however you want.
Best regards
Hi,
1) Solved, thank you
2) ok
3) https://www.kefirma.it/tecnologie-di-firma-elettronica/la-firma-grafometrica/ - search "Typically, these parameters are:"
5) Example https://www.kefirma.it/en/prodotto/batch-of-1000-otp-signatures/ the tile Related product is h3 (<h3>Related products</h3>). Ok, I can solve with a product template
I'll come later for the other points.
Thank you
Hi,
4) For the 4th point I attach the images of what is reported by the accessibility tools
Thanks you.
Thanks for the clarification.
All information was passed on to the dev team, and we will implement improvements.
Best regards
Thank you! Have a nice day.
Best regards