[Skip to main content](#vessel-content)

#   Accessibility Issues

##

- **[epafos](/forum/user/59726-epafos "View epafos's Profile")**
- [![epafos's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59726-epafos "View epafos's Profile") Topic Author
- [ Offline](/forum/user/59726-epafos)

Less More

- Posts: 10
- Thank you received: 2
-
-

5 years 9 months ago [\#328752](#328752) by [epafos](/forum/user/59726-epafos "View epafos's Profile")  *[Accessibility Issues](/forum/26-product-category-display/901749-accessibility-issues#328752 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.2  I am trying to make my website friendly for people with disabilities.  Following the WCAG 2.0 (Level AA) standards i corrected most of the errors but i have a problem with Hikashop.  On the products list view, at the bottom there is a select input box for filtering how many products are displayed. This is in view: product&#95;listing&#95;div.php and more specific in this code:  that it gets translated in the frontend like this:  My problem is that according to WCAG 2.0 (Level AA) standards, select element cannot contain onchange attribute.  I know that this cannot be changed from you because thats how hikashop works and i am fine by that. But how can i remove the select ? I cannot find how to edit")* was created by *[epafos](/forum/user/59726-epafos "View epafos's Profile")*

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.23
-- PHP version -- : 7.2

I am trying to make my website friendly for people with disabilities.

Following the WCAG 2.0 (Level AA) standards i corrected most of the errors but i have a problem with Hikashop.

On the products list view, at the bottom there is a select input box for filtering how many products are displayed.
This is in view: **product\_listing\_div.php**
and more specific in this code:
Code:

&lt;?php echo str_replace('&amp;tmpl=raw','', $this-&gt;pagination-&gt;getListFooter($this-&gt;params-&gt;get('limit'))); ?&gt;

that it gets translated in the frontend like this: Code:

&lt;div class="list-footer"&gt; &lt;div class="limit"&gt;Show #&lt;select id="limit" name="limit" class="chzn-done inputbox" size="1" style="width:70px" onchange="this.form.submit()"&gt; &lt;option value="12" selected="selected"&gt;12&lt;/option&gt; &lt;option value="24"&gt;24&lt;/option&gt; &lt;option value="36"&gt;36&lt;/option&gt; &lt;option value="48"&gt;48&lt;/option&gt; &lt;option value="60"&gt;60&lt;/option&gt; &lt;option value="0"&gt;all&lt;/option&gt; &lt;/select&gt; &lt;/div&gt; &lt;div class="pagination"&gt; &lt;ul class="pagination-list"&gt;&lt;li class="disabled"&gt;&lt;a&gt;&lt;span class="icon-first"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li class="disabled"&gt;&lt;a&gt;&lt;span class="icon-previous"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li class="active hidden-phone"&gt;&lt;a&gt;1&lt;/a&gt;&lt;/li&gt;&lt;li class="hidden-phone"&gt;&lt;a title="2" href="https://www.mysiteblahblah.com?limitstart=12&amp;amp;limit=12" class="pagenav"&gt;2&lt;/a&gt;&lt;/li&gt;&lt;li class="hidden-phone"&gt;&lt;a title="3" href="https://www.mysiteblahblah.com?limitstart=24&amp;amp;limit=12" class="pagenav"&gt;3&lt;/a&gt;&lt;/li&gt;&lt;li class="hidden-phone"&gt;&lt;a title="4" href="https://www.mysiteblahblah.com?limitstart=36&amp;amp;limit=12" class="pagenav"&gt;4&lt;/a&gt;&lt;/li&gt;&lt;li class="hidden-phone"&gt;&lt;a title="5" href="https://www.mysiteblahblah.com?limitstart=48&amp;amp;limit=12" class="pagenav"&gt;...&lt;/a&gt;&lt;/li&gt;&lt;li class="hidden-phone"&gt;&lt;a title="6" href="https://www.mysiteblahblah.com?limitstart=60&amp;amp;limit=12" class="pagenav"&gt;6&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a title="Next" href="https://www.mysiteblahblah.com?limitstart=12&amp;amp;limit=12" class="pagenav"&gt;&lt;span class="icon-next"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a title="Previous" href="https://www.mysiteblahblah.com?limitstart=60&amp;amp;limit=12" class="pagenav"&gt;&lt;span class="icon-last"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;input type="hidden" name="limitstart" value="0"&gt; &lt;/div&gt; &lt;/div&gt;

My problem is that according to WCAG 2.0 (Level AA) standards, **select element cannot contain onchange attribute**.

I know that this cannot be changed from you because thats how hikashop works and i am fine by that. But how can i remove the select ?
I cannot find how to edit Code:

&lt;?php echo str_replace('&amp;tmpl=raw','', $this-&gt;pagination-&gt;getListFooter($this-&gt;params-&gt;get('limit'))); ?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDE3NDktYWNjZXNzaWJpbGl0eS1pc3N1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14299
-
-

5 years 9 months ago -  5 years 4 months ago [\#328767](#328767) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Accessibility Issues](/forum/26-product-category-display/901749-accessibility-issues#328767 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.2  I am trying to make my website friendly for people with disabilities.  Following the WCAG 2.0 (Level AA) standards i corrected most of the errors but i have a problem with Hikashop.  On the products list view, at the bottom there is a select input box for filtering how many products are displayed. This is in view: product&#95;listing&#95;div.php and more specific in this code:  that it gets translated in the frontend like this:  My problem is that according to WCAG 2.0 (Level AA) standards, select element cannot contain onchange attribute.  I know that this cannot be changed from you because thats how hikashop works and i am fine by that. But how can i remove the select ? I cannot find how to edit")*

Hi,

Well, the pagination is done by the file administrator/components/com_hikashop/helpers/pagination.php which inherits from Joomla's pagination system, which can be overridden by your template.
The first thing to check is whether you have the file templates/YOUR_TEMPLATE/html/pagination.php
If you do, then, check if that file has the function pagination_list_footer($list)
This function is basically what is called by the $this-&gt;pagination-&gt;getListFooter() function call to return the HTML of that area.
[ help.hubzero.org/documentation/1.2.2/web.../templates/overrides](https://help.hubzero.org/documentation/1.2.2/webdevs/templates/overrides) (at the end of the page)
So there, you can modify it to not use Code:

$list['limit']

where the HTML of the select is waiting to be used.
If the pagination.php doesn't exist, then it means you're using the default output of HikaShop / Joomla. You can always create that pagination.php file yourself and implement in it the pagination_list_footer function.

Last edit: 5 years 4 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

The following user(s) said Thank You: [epafos](/forum/user/59726-epafos "View epafos's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDE3NDktYWNjZXNzaWJpbGl0eS1pc3N1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.043 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
