End of Support for Joomla 3 - Forum closed
Fix WCAG AChecker error
- antonypits
- Offline Topic Author
- Fresh Boarder
-
- Posts: 3
- Thank you received: 0
Hello.
I'm trying to make my site WCAG compatible in order to pass a verification I need. I need the site to pass the test in achecker.ca/ .
I get one last error that says:
Check 174: Anchor contains no text.
Repair: Add text to the a element or the title attribute of the a element or, if an image is used within the anchor, add Alt text to the image.
Error Line 219, Column 11:
<a href="#offcanvas" class="uk-navbar-toggle uk-visible-small" data-uk-offcanvas></a>
I understand that this has to do something with the mobile menu that is set to appear offcanvas.
Is there any way to fix it without unpublishing the mobile menu module?
I'm trying to make my site WCAG compatible in order to pass a verification I need. I need the site to pass the test in achecker.ca/ .
I get one last error that says:
Check 174: Anchor contains no text.
Repair: Add text to the a element or the title attribute of the a element or, if an image is used within the anchor, add Alt text to the image.
Error Line 219, Column 11:
<a href="#offcanvas" class="uk-navbar-toggle uk-visible-small" data-uk-offcanvas></a>
I understand that this has to do something with the mobile menu that is set to appear offcanvas.
Is there any way to fix it without unpublishing the mobile menu module?
by antonypits
Please Log in or Create an account to join the conversation.
- joomlaplates
-
Offline
- Moderator
-
- Posts: 8841
- Thank you received: 1736
Hi there,
the anchor has no text is HTML5 based syntax. There is nothing wrong.
But you can add a text like this
the anchor has no text is HTML5 based syntax. There is nothing wrong.
But you can add a text like this
<a href="#offcanvas" class="uk-navbar-toggle uk-visible-small" data-uk-offcanvas>Menu</a>
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
- antonypits
- Offline Topic Author
- Fresh Boarder
-
- Posts: 3
- Thank you received: 0
Hello and thanks for the quick answer. Where do I add the Menu text?
by antonypits
Please Log in or Create an account to join the conversation.
- joomlaplates
-
Offline
- Moderator
-
- Posts: 8841
- Thank you received: 1736
or add a empty syntax, see image below<a href="#offcanvas" class="uk-navbar-toggle uk-visible-small" data-uk-offcanvas>Menu</a>
Attachment Screenshot_1-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-25-26-27-28-29-30-31-32-33-34-35-36-37-38-39-40-41-42-43-44-45-46-47-48-49-50-51-52-53-54.jpg not found
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
Last Edit:6 years 11 months ago
by joomlaplates
Attachments:
Last edit: 6 years 11 months ago by joomlaplates.
Please Log in or Create an account to join the conversation.
- antonypits
- Offline Topic Author
- Fresh Boarder
-
- Posts: 3
- Thank you received: 0
Thanks a lot! Now it passes without problem!
by antonypits
Please Log in or Create an account to join the conversation.
Moderators: joomlaplates