Have 3 problems with aria parent and child role

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
mentalizzz
 
 
Posts: 49
Joined: Wed Jan 06, 2021 11:14 am
Contact:

Have 3 problems with aria parent and child role

Post by mentalizzz »

I am using page speed insight and or web dev website (lighthouse report) to check my website quality. All aspects are 100 (perfect) score. Only the accessibility aspect got 73 score. And the main problem are the aria parent and child role.

It says,
Problem number 1
Elements with an ARIA [role] that require children to contain a specific [role] are missing some or all of those required children.
Some ARIA parent roles must contain specific child roles to perform their intended accessibility functions.
And the failing elements is <ul role="menubar" class="ui-widget" id="MegaMenu1">

Problem number 2
[role]s are not contained by their required parent element
Some ARIA child roles must be contained by specific parent roles to properly perform their intended accessibility functions.

EPKP
<a role="menuitem" href="./index.htm" class="button ui-state-default">

Tentang EPKP
<a role="menuitem" href="./tentang_energi_positif_kekuatan_pikiran.htm" class="button ui-state-default">

Tentang Tonar Eki F
<a role="menuitem" href="./tentang_saya.htm" class="button ui-state-default">

Pelatihan Tenaga Dalam Modern
<a role="menuitem" href="./tenaga_dalam.htm" class="button ui-state-default">

Pelatihan Spiritual Modern
<a role="menuitem" href="./kebatinan_spiritual.htm" class="button ui-state-default">

Pelatihan Lainnya
<a role="menuitem" href="#" class="button ui-state-default">

Aneka Terapi
<a role="menuitem" href="#" class="button ui-state-default">

Konsultasi Lain
<a role="menuitem" href="./konsultasi_lain.htm" class="button ui-state-default">

Artikel Tenaga Dalam Spiritual
<a role="menuitem" href="./artikel_penting.htm" class="button ui-state-default">

Info Kontak EPKP
<a role="menuitem" href="./hubungi_saya.htm" class="button ui-state-default">

Problem number 3
List items (<li>) are not contained within <ul> or <ol> parent elements.
Screen readers require list items (`<li>`) to be contained within a parent `<ul>` or `<ol>` to be announced properly.

EPKP
<li>

Tentang EPKP
<li>

Tentang Tonar Eki F
<li>

Pelatihan Tenaga Dalam Modern
<li>

Pelatihan Spiritual Modern
<li>

Pelatihan Lainnya
<li>

Aneka Terapi
<li>

Konsultasi Lain
<li>

Artikel Tenaga Dalam Spiritual
<li>

Info Kontak EPKP
<li>

Please help me to fix the problems because i did not know about aria role and etc. Thank you very much before and after.
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Have 3 problems with aria parent and child role

Post by Pablo »

To be able to help you, I need a DEMO project so I can see all your settings.

Note: I do not need the complete project because that will only take more time to figure out what you have done.
Basically, I just need a small project with one page and object(s) that are relevant to your question.

Please see this FAQ for further details:
viewtopic.php?f=10&t=82134
mentalizzz
 
 
Posts: 49
Joined: Wed Jan 06, 2021 11:14 am
Contact:

Re: Have 3 problems with aria parent and child role

Post by mentalizzz »

Pablo wrote: Mon Nov 29, 2021 7:22 am To be able to help you, I need a DEMO project so I can see all your settings.

Note: I do not need the complete project because that will only take more time to figure out what you have done.
Basically, I just need a small project with one page and object(s) that are relevant to your question.

Please see this FAQ for further details:
viewtopic.php?f=10&t=82134
Thank you Pablo for responding my post. The problem is affecting the menu of all pages so this is the file that you are asking for.

https://drive.google.com/file/d/12-OvR_ ... p=drivesdk
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Have 3 problems with aria parent and child role

Post by Pablo »

Based on the project file, you are not using the latest version of the software.
WWB17 has many optimizations related to lighthouse.
mentalizzz
 
 
Posts: 49
Joined: Wed Jan 06, 2021 11:14 am
Contact:

Re: Have 3 problems with aria parent and child role

Post by mentalizzz »

Yes i have plan to upgrade it January next year. Is there something i can do to fix this problem with the outdated version of mine?
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Have 3 problems with aria parent and child role

Post by Pablo »

Sorry, I do no think there is anything you can do. This requires a software update.
mentalizzz
 
 
Posts: 49
Joined: Wed Jan 06, 2021 11:14 am
Contact:

Re: Have 3 problems with aria parent and child role

Post by mentalizzz »

Okay thank you Pablo i will upgrading the software later
Post Reply