RLWiki:Alt text: Difference between revisions
Appearance
AZMindroma (talk | contribs) Created page with "Alt text is important for SEO and for wiki accessibility. Therefore, alt texts shall be implemented in every page. Going through the files in chronological order. ==Files done== * File:2002.png * File:2002 (Generic).png" |
AZMindroma (talk | contribs) m Added css tutorial |
||
| Line 2: | Line 2: | ||
Going through the files in chronological order. | Going through the files in chronological order. | ||
If you want to quickly identify which images don't have an alt text, you can insert this in your common.css userpage (example: [[User:AZMindroma/common.css]]): | |||
<pre> | |||
img:not([alt]), img[alt=""] { | |||
outline: 5px solid red !important; | |||
} | |||
</pre> | |||
This will put a red frame around every non-alt text image. | |||
==Files done== | ==Files done== | ||
* [[:File:2002.png]] | * [[:File:2002.png]] | ||
* [[:File:2002 (Generic).png]] | * [[:File:2002 (Generic).png]] | ||
Revision as of 14:10, 3 May 2026
Alt text is important for SEO and for wiki accessibility. Therefore, alt texts shall be implemented in every page.
Going through the files in chronological order.
If you want to quickly identify which images don't have an alt text, you can insert this in your common.css userpage (example: User:AZMindroma/common.css):
img:not([alt]), img[alt=""] {
outline: 5px solid red !important;
}
This will put a red frame around every non-alt text image.