AOSC-Archive / website-site-ng

Next-gen Community Portal
https://aosc.io/
5 stars 14 forks source link

Attribute 'alt' in image elements MUST be specified #9

Open LionNatsu opened 9 years ago

LionNatsu commented 9 years ago

This is a guidence with a long history, and it still works now.

In the W3C Recommendation of HTML5:

4.7.1.1.2 General guidelines

Except where otherwise specified, the alt attribute must be specified and its value must not be empty; the value must be an appropriate functional replacement for the image. The specific requirements for the alt attribute content depend on the image's function in the page, as described in the following sections.

Artoria2e5 commented 7 years ago

Also some title. Provides cool mouseover text.