Jump to content

Default them Accessibility issues


Stampa-Stampa

Recommended Posts

Hi there

I would like to ask advice on correcting a problem i get when checking the default theme with Achecker.

The error is in email subscription module and the error report shows the following:
---------------------------------------------------------
Success Criteria 3.3.2 Labels or Instructions (A)
Check 188: Label text is empty.
Repair: Add text to the label element.
Line 1810, Column 15:
<input name="email" type="email" value="" ...
---------------------------------------------------------

I found the following code in email subscriptio tpl file:
----------------------------------------------------------
<div class="input-wrapper">
          <input
            name="email"
            type="email"
            value="{$value}"
            placeholder="{l s='Your email address' d='Shop.Forms.Labels'}"
            aria-labelledby="block-newsletter-label"
          >
------------------------------------------------------------------------

Can someone advice me on how to properly correct this?

Thank you in advance!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...