SwedbankPay/design.swedbankpay.com

Swedbank Pay logo in header should be an image tag with alt text

Closed this issue · 2 comments

WCAG 2.0 Success Criterion 1.1.1 requires that all non-text content has an alt text. According to the MDN HTML attribute reference the only elements that officially support the alt attribute are applet, area, img and input. As the logo in the header is an a tag it's not WCAG compliant. If you give the a tag the alt attribute it is rendered, but we cannot expect screen readers to pick this up as it's not officially supported.

The logo in the header should be changed to be an a tag containing an img tag with an alt text.

Agreed, will fix.

Closed by #54