The Dashicons for the accordian menus are being flagged as “buttons without alternative text”. Is there a way to add an aria-label to the dashicons when they are closed? Would I need to write a script? Siteimprove is lowering our accessibility score and I need to resolve this.
Accordion menu dashicon accessibility issues
Resolved
OnPoint Plugins
Hi Susan,
Would it be possible to share the tool being used to see this score? If there is an accessibility issue, our team would eagerly like to fix it.
So far all of our tools are not flagging any issues with menu items. If it is not possible for use to use/see the tool, we can provide the necessary filters to adjust the markup on your site.
Susan Strenkoski
Client is paying for Siteimprove program to assess their website. I cannot give you logged in access to see information.
OnPoint Plugins
Hi Susan,
Adding the following filter to your active theme’s function.php file will add an
aria-label
to the “Arrow” icons you are currently using.Let me know if this solves your issue and we’ll look into implementing a fix directly in the plugin.
Have a great day!
Susan Strenkoski
I will let you know if it solves the issue. Siteimprove is scheduled to crawl the site in two days. Thank you for your quick response to this issue.
Susan Strenkoski
The code worked perfect. Thank you.
OnPoint Plugins
Hi Susan,
Version 9.0.2 of the PRO plugin is now available which includes this fix for all accordion styles.
You may:
Have a great day!