First obvious accessibility fixes.
[wolnelektury.git] / apps / wolnelektury_core / templates / superbase.html
index 423befb..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">
         <div id="main-content">
 
             <div id="nav-line">
         <div id="main-content">
 
             <div id="nav-line">
-               {% cache 300 catalogue-menu LANGUAGE_CODE %}
-                       {% catalogue_menu %}
-               {% endcache %}
+                {% catalogue_menu %}
 
             <div id="lang-menu" class="hoverget">
                 <span id='lang-button' class='mono hoverclick'>
 
             <div id="lang-menu" class="hoverget">
                 <span id='lang-button' class='mono hoverclick'>
                     {% 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>