1. dy87chf
  2. Sherlock Holmes
  3. Commercial Templates
  4. Thursday, 16 May 2024
  5.  Subscribe via email
When scanning our website for ADA compliancy - https://landprollc.us/, the menu items that have child items are failing. The report says:

Elements that behave as buttons but are built using other tags such as span, div, a or others, should include a "role" attribute that equals to "button".

Failed Elements:
<a href="#" onclick="dodajAktywne(this)" >About<span class="parent-indicator j51-inline-icon" aria-hidden="true"><svg aria-hidden="true" focusable="false" class="svg-inline--fa fa-chevron-down fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" vi...
<a href="#" onclick="dodajAktywne(this)" >Services<span class="parent-indicator j51-inline-icon" aria-hidden="true"><svg aria-hidden="true" focusable="false" class="svg-inline--fa fa-chevron-down fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg"...
<a href="#" onclick="dodajAktywne(this)" >Seminar<span class="parent-indicator j51-inline-icon" aria-hidden="true"><svg aria-hidden="true" focusable="false" class="svg-inline--fa fa-chevron-down fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" ...
<a href="#" onclick="dodajAktywne(this)" >Media<span class="parent-indicator j51-inline-icon" aria-hidden="true"><svg aria-hidden="true" focusable="false" class="svg-inline--fa fa-chevron-down fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" vi...

These menu items have role="img". I think this should be role="menuitem". Can this be fixed in the templates? Also, can you tell me what file I would need to modify to make this change in the meantime? We are using the Emani template.
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Email sent with credentials. Thank you.
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Just received an email saying that my email to info@joomla51.com was undeliverable.
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Strange. Could I ask you to resend? Please cc ciar4n@gmail.com

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Resent, thank you.
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you

I have amended your template menu override to include the role attribute as described.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Great, thank you. Can you confirm it was just these two files that were modified:

templates/j51_emani/html/mod_menu/default_component.php
templates/j51_emani/html/mod_menu/default_url.php
  1. more than a month ago
  2. Commercial Templates
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Yes, just these 2 overrides have been updated.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you. Will this be something that is added to future template releases, or will I need to apply these overrides after any updates?
  1. more than a month ago
  2. Commercial Templates
  3. # 9
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.