Barrier-free accessibility legally required (Barrierefreiheit Shop) - Some errors

04.11.2024 09:26
#1
ecoShopUser
Joomshopping forum user no avatar
Name: Andrea
13.08.2012
Сообщения: 299
Quote
Barrier-free accessibility legally required (Barrierefreiheit Shop) - Some errors

Dear Joomshopping team,

The topic of “website accessibility” will be legally binding from 2025. When checking the store, we noticed a few errors in this context. Please correct your templates so that the store can be used barrier-free by our customers.

Thank you very much.
Andrea

*******
Missing fieldset:
A group of check boxes or radio buttons is not enclosed in a fieldset.

Why It Matters: A fieldset provides a visual and structural grouping of related form elements. It is typically necessary for groups of check boxes or radio buttons where a higher level description (called a legend) is necessary to understand the function of the check boxes or radio buttons. The description will be identified by a screen reader only if provided in a fieldset legend.

How to Fix It: Determine whether the grouping of check boxes or radio buttons has or needs text that explains the purpose of the check boxes or radio button grouping. If so, mark up the group within a fieldset and put the group description in a legend element.

*******
Missing form label: A form control does not have a corresponding label.

Why It Matters: If a form control does not have a properly associated text label, the function or purpose of that form control may not be presented to screen reader users. Form labels also provide visible descriptions and larger clickable targets for form controls.

How to Fix It: If a text label for a form control is visible, use the <label> element to associate it with its respective form control. If there is no visible label, either provide an associated label, add a descriptive title attribute to the form control, or reference the label(s) using aria-labelledby.

#######I found the following positions in the store:##########

Attributes (hier: Radio Buttons):
Missing fieldset: A group of check boxes or radio buttons is not enclosed in a fieldset.
Example:
<span class="input_type_radio">
<input type="radio" name="jshop_attr_id[3]" id="jshop_attr_id37" value="7" onclick="jshop.setAttrValue('3', this.value);" checked="checked">
Form labelMissing fieldset
<label for="jshop_attr_id37">
<span class="radio_attr_label">
<span>
Entry
</span>
</span>
</label>
</span>

####

Free Attributes (hier: Textfeld):
Missing form label: A form control does not have a corresponding label.
Example:
<div class="field">
Missing form label
<input type="number" class="inputbox" size="40" name="freeattribut[8]" value="" min="1">
</div>

Why It Matters: If a form control does not have a properly associated text label, the function or purpose of that form control may not be presented to screen reader users. Form labels also provide visible descriptions and larger clickable targets for form controls.

How to Fix It: If a text label for a form control is visible, use the <label> element to associate it with its respective form control. If there is no visible label, either provide an associated label, add a descriptive title attribute to the form control, or reference the label(s) using aria-labelledby.

#######

Cart:
<div class="quantity">
<div class="data">
Missing form label
<input type="number" name="quantity[0]" value="1" class="inputbox" min="0">
<span class="cart_reload icon-refresh" title="Warenkorb aktualisieren"></span>
</div>
</div>

#######

<form name="rabatt" method="post" action="/de/shop/cart/discountsave">
<div class="jshop">
<div class="span12">
<div class="name">
Rabattcode
</div>
Missing form label
<input type="text" class="inputbox" name="rabatt" value="">
<input type="submit" class="button btn btn-primary" value="Aktivieren">
</div>
</div>
</form>

########

<div class="controls">
<input type="radio" name="delivery_adress" id="delivery_adress_1" value="0" checked="checked">
Form labelMissing fieldset
<label for="delivery_adress_1">
nein
</label>
<input type="radio" name="delivery_adress" id="delivery_adress_2" value="1">
Form label
<label for="delivery_adress_2">
ja
</label>


#######

<div class="pfinish_comment_block">
<div class="row_agb">
Missing form label
<input type="checkbox" name="agb" id="agb">
<a class="policy" href="#" onclick="window.open('/de/agb?tmpl=component','window','width=800, height=600, scrollbars=yes, status=no, toolbar=no, menubar=no, resizable=yes, location=no');return false;">
Allgemeine Geschäftsdbedingungen (AGB)
</a>
und
<a class="policy" href="#" onclick="window.open('/de/widerrufsrecht?tmpl=component&amp;cart=1','window','width=800, height=600, scrollbars=yes, status=no, toolbar=no, menubar=no, resizable=yes, location=no');return false;">
Widerrufsrecht:
</a>
Hiermit bestätige ich, dass....
</div>
<div class="row_no_return">
Missing form label
<input type="checkbox" name="no_return" id="no_return">
Ich stimme hiermit ausdrücklich zu, ....
</div>
<div class="box_button">
<input class="btn btn-success button" id="previewfinish_btn" type="submit" name="finish_registration" value="Zahlungspflichtig bestellen" data-agb="1" data-noreturn="1" onclick="return checkMustFields();">
</div>
</div>
</form>
</div>
</div>


Joomla: 4+5
 
04.11.2024 10:16
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 28000
Quote
Aw: Barrier-free accessibility legally required (Barrierefreiheit Shop) - Some errors

Crete own template JoomShopping
https://www.joomshopping.com/forum/posts/7/3567.html?lang=en

 
04.11.2024 10:37
#3
ecoShopUser
Joomshopping forum user no avatar
Name: Andrea
13.08.2012
Сообщения: 299
Quote
Aw: Barrier-free accessibility legally required (Barrierefreiheit Shop) - Some errors

Yes, but attributes and free attributes are not definined in the template. You have to change this in your code.


Последнее изменение: 04.11.2024 10:38
 
04.11.2024 12:49
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 28000
Quote
Aw: Barrier-free accessibility legally required (Barrierefreiheit Shop) - Some errors

\components\com_jshopping\templates\default\product\attribute_input_radio.php
\components\com_jshopping\templates\default\product\attribute_input_select.php
\components\com_jshopping\templates\default\product\freeattribute_input.php

 
05.11.2024 08:20
#5
ecoShopUser
Joomshopping forum user no avatar
Name: Andrea
13.08.2012
Сообщения: 299
Quote
Aw: Barrier-free accessibility legally required (Barrierefreiheit Shop) - Some errors

Okay, thanks!

 
09.06.2025 12:02
#6
Ludinator
Joomshopping forum user no avatar
Name: Frannk Ludewig
07.01.2009
Сообщения: 155
Quote
Aw: Barrier-free accessibility legally required (Barrierefreiheit Shop) - Some errors

Hallo,
ich kenne das Problem und habe es verstanden, aber ich habe leider die Lösung nicht verstanden. Vieleicht kann jemand konkret an einem Beispiel zeigen, was man in den Templates genau ändern muss?

Danke.

Hello,
I know the problem and understand it, but unfortunately I don't understand the solution. Perhaps someone can provide a concrete example of what exactly needs to be changed in the templates?

Thanks.


Последнее изменение: 09.06.2025 12:04
 
09.06.2025 12:44
#7
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 28000
Quote
Aw: Barrier-free accessibility legally required (Barrierefreiheit Shop) - Some errors

Copy file

\components\com_jshopping\templates\default\product\attribute_input_radio.php
\components\com_jshopping\templates\default\product\attribute_input_select.php
\components\com_jshopping\templates\default\product\freeattribute_input.php

to your template

url?
error?

 
09.06.2025 15:08
#8
Ludinator
Joomshopping forum user no avatar
Name: Frannk Ludewig
07.01.2009
Сообщения: 155
Quote
Aw: Barrier-free accessibility legally required (Barrierefreiheit Shop) - Some errors

ich habe das Problem, das bei Prüfung der Barrierefreiheit sämtliche Formularfelder mit Error ausgegeben werden. z.B. Eingabe anzahl Produkt in den Warenkorb und beim Checkout.

"Select missing label
A select element does not have an associated label"

"Missing form label
A form control does not have a corresponding label."

Der Screenreader erkennt überhaupt keine Formlarfelder und ließt auch dessen Inhalt nicht aus.

-------------------------------------------

I have a problem where all form fields are displayed with errors when checking for accessibility. For example, entering the number of products in the shopping cart and during checkout.

"Select missing label
A select element does not have an associated label"

"Missing form label
A form control does not have a corresponding label."

The screen reader doesn't recognize any form fields at all and doesn't read their contents.


https://i-love-pennystock.de/kasse/step2
Aw: Barrier-free accessibility legally required (Barrierefreiheit Shop) - Some errors

 
09.06.2025 18:51
#9
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 28000
Quote
Aw: Barrier-free accessibility legally required (Barrierefreiheit Shop) - Some errors

Change template:
Example for Anrede

<div class="control-group">
<div class="control-label name">
<lable for="title">
Anrede
</label>
</div>
<div class="controls">
<select id="title" name="title" ....
</div>
</div>


Последнее изменение: 09.06.2025 19:09
 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.