Jump to content

aria-checked v. W3 HTML validator


Gabriel Torres
 Share

Go to solution Solved by Adlago,

Recommended Posts

Hi,

Running the W3 HTML validator on our website, it complains about this line:

<input type="checkbox" name="remember_me" id="remember_me_checkbox" value="1" checked aria-checked="true">
Quote

Warning: The aria-checked attribute should not be used on an input element which has a type attribute whose value is checkbox.

This also happens when we audit www.invisioncommunity.com

Please advise.

Cheers.

Link to comment
Share on other sites

  • Gabriel Torres changed the title to aria-checked v. W3 HTML validator
  • 4 weeks later...
  • Solution
On 12/19/2021 at 6:49 PM, Gabriel Torres said:

Hi,

Running the W3 HTML validator on our website, it complains about this line:

<input type="checkbox" name="remember_me" id="remember_me_checkbox" value="1" checked aria-checked="true">

This also happens when we audit www.invisioncommunity.com

Please advise.

Cheers.

Open: loginPopupForm template (core_front_global)

Find

<input type="checkbox" name="remember_me" id="remember_me_checkbox" value="1" checked aria-checked="true">

and replace

<input type="checkbox" name="remember_me" id="remember_me_checkbox" value="1">

For me work good

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...