Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 General
 Design issues
 WCAG 2.1 does not like font weight on page numbers
Author « Topic »  

mrbeanbag
New Member

USA
82 Posts

Posted - 02/06/2022 :  22:44:12  
On the products page I'm getting flagged with

Use semantic markup like strong instead of using the CSS font-weight property.

Use the strong element instead of the span element for bold text.
Line 1052 WCAG 2.1 A F2 Section 508 (2017) A F2

This appears to be in ecommercetemplates source code

1052<span class="pagebarquo pagebarlquo">«</span> <span class="pagebarprevnext pagebarprev">Previous</span><span class="pagebarsep"></span><span class="pagebarnum currpage">1</span><span class="pagebarsep"></span>

Scott

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 02/07/2022 :  10:42:25  
Hi its not in the code that you posted but it is in the site style sheet new-styleprodd.css as it it classed as ectlink

.ectlink {
font-family: "Arial";
font-size: 16px;
line-height: 15px;
color: #FFF;
font-weight: bold;
text-decoration: none;
display: inline-block;
vertical-align: top;
}
Removing font-weight from .ectlink will affect the product names on the product page you can increase the font-size to 18 and increase the line-height or remove the line-height.



Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

Edited by - Sinbad on 02/07/2022 10:43:59

Vince
Administrator

42430 Posts

Posted - 02/08/2022 :  02:41:47  
Hi Scott
It seems that the way to correctly mark the current page for screen readers is with...
aria-current="page"
I've done this now and added the change to the incfunctions.asp/php file in the v7.4 updater.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

mrbeanbag
New Member

USA
82 Posts

Posted - 02/09/2022 :  08:08:08  
Ok, thanks... I will grab the latest update and update that.

Can I assume I can grab the new functions.asp and just replace the 1 file or do i need to do the whole update store thing?

Scott

Vince
Administrator

42430 Posts

Posted - 02/09/2022 :  12:50:43  
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000