Jump to content

aria-checked v. W3 HTML validator


Go to solution Solved by Adlago,

Recommended Posts

Posted

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.

  • 4 weeks later...
  • Solution
Posted
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

  • Recently Browsing   0 members

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