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!