kitchencollection-com / core

A custom module for kitchencollection.com (Magento 2)
https://upwork.com/fl/mage2pro
0 stars 0 forks source link

An ADA issue: «3. HTML used to format content» #1

Closed dmitrii-fediuk closed 6 years ago

dmitrii-fediuk commented 6 years ago

upwork.com/ab/f/contracts/20800580

Presentational attributes such as 'border' is used to format the ‘Norton Secure’ image link. CSS should be used for styling instead. 01

Code snippet:

<img name="seal"
src="https://seal.websecurity.norton.com/getseal?at=0&amp;sealid=0&amp;dn=www.kitchencoll
ection.com&amp;lang=en&amp;tpt=opaque" oncontextmenu="return false;" border="0"
usemap="#sealmap_large" alt="" style="z-index: 2147483646; position: relative;">

Rationale

It's important to validate if HTML is used to format the content and determine if it can be fixed by moving the presentational attributes to your CSS. It's not always practical to make these changes, but should be made when possible

Recommendations

Use CSS to stylize the content.

dmitrii-fediuk commented 6 years ago

Fixed in 0.0.2.