Accessibility: Remove meaningless alt text.

It just gets in the way of screen readers.
This commit is contained in:
Neil Williams
2012-12-09 22:56:08 -08:00
parent 2beabad0cc
commit 25b5683222
4 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ ${rounded_captcha()}
<input name="iden" value="${iden}" type="hidden"/>
<img class="capimage"
alt="i wonder if these things even work"
alt="visual CAPTCHA"
%if hasattr(thing, "iden"):
src="/captcha/${thing.iden}.png"
%else:

View File

@@ -26,7 +26,7 @@ from r2.lib.filters import unsafe, safemarkdown
%>
<div id="classy-error" class="content">
<img src="${static(thing.image_url)}" alt="an unhappy alien" />
<img src="${static(thing.image_url)}" alt="" />
<h1>${thing.title}</h1>
<div class="errorpage-message">

View File

@@ -26,7 +26,7 @@
<p class="error">
${_("you must be at least eighteen to view this reddit")}
</p>
<img src="${static('over18.png')}" alt="jedberg alien" />
<img src="${static('over18.png')}" alt="" />
<form method="post" action="" class="pretty-form"
${"target='_top'" if c.cname else ""}>

View File

@@ -28,7 +28,7 @@
<%namespace file="utils.html" import="error_field"/>
<div class="content over18" style="text-align: center">
<img src="${static('over18.png')}" alt="jedberg alien" />
<img src="${static('over18.png')}" alt="" />
<h1>let me see your papers</h1>