Hello again, I have a problem with evaluation (the site needs to pass an accessibility evaluation to conform with a EU program...) There are some forms that are "missing label" such as the quantity field in ad to cart e.g. https://wave.webaim.org/report#/https:/ ... n-earrings
and the pagination dropdown here: https://wave.webaim.org/report#/https:/ ... ollections (which I don't need anyway but I don't know how to hide it)
Can you help me with this?
Thank you!
Evaluation issue
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Evaluation issue
Hi, yes, if you let me know the list of elements which needs to be changed plus the attributes values, I will update it.
Thank you, Jan
Thank you, Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 18
- Joined: 23 May 2020, 22:56
Re: Evaluation issue
From my understanding only the 'ADD TO CART' label is missing. Maybe should read 'quantity'?
Thank you.
Thank you.
-
- Phoca Member
- Posts: 18
- Joined: 23 May 2020, 22:56
Re: Evaluation issue
Can you help me please? At least a clue, where can I find it in the code to add the label? I have an urgent deadline. Thanks.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Evaluation issue
Hi, the code for add to cart can be found here:
components/com_phocacart/layouts/button_add_to_cart_item.php
Jan
components/com_phocacart/layouts/button_add_to_cart_item.php
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 18
- Joined: 23 May 2020, 22:56
Re: Evaluation issue
Yes, found it. Added <label> tag here
and it is ok now.
Code: Select all
<label>
<div class="<?php echo $d['s']['c']['form-group'] ?> ph-form-quantity phProductAddToCart<?php echo $d['typeview']. (int)$d['id'] .' '.$d['class_btn']; ?>"></label>
<label><?php echo JText::_('COM_PHOCACART_QTY'); ?>: </label>
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: