First obvious accessibility fixes.
[wolnelektury.git] / apps / wolnelektury_core / templates / superbase.html
index b0067ac..ac24de3 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
 <!DOCTYPE html>
-<html prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">
+<html lang="{{ LANGUAGE_CODE }}" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">
        {% load cache compressed i18n %}
        {% load static from staticfiles %}
     {% load catalogue_tags reporting_stats sponsor_tags %}
        {% load cache compressed i18n %}
        {% load static from staticfiles %}
     {% load catalogue_tags reporting_stats sponsor_tags %}
@@ -42,7 +42,8 @@
         <div id="header-content">
             <div id="logo">
                 <a class="logo" href="/">
         <div id="header-content">
             <div id="logo">
                 <a class="logo" href="/">
-                <img id="logo-image" src="{% static "img/logo-neon.png" %}" /></a>
+                <img id="logo-image" src="{% static "img/logo-neon.png" %}"
+                    alt="Wolne Lektury" /></a>
             </div>
 
             <div id="tagline">
             </div>
 
             <div id="tagline">
                     {% csrf_token %}
                     <input type="hidden" name="language" value="{{ lang.0 }}" />
                     <button type="submit"
                     {% csrf_token %}
                     <input type="hidden" name="language" value="{{ lang.0 }}" />
                     <button type="submit"
+                        lang="{{ lang.0 }}"
                         class="{% ifequal lang.0 LANGUAGE_CODE %}active{% endifequal %} mono"
                         >{{ lang.1 }}</button>
                    </form>
                         class="{% ifequal lang.0 LANGUAGE_CODE %}active{% endifequal %} mono"
                         >{{ lang.1 }}</button>
                    </form>