add landmark roles to header and footer

pull/5305/head
Beth Menzies 2019-05-13 15:29:08 +01:00 zatwierdzone przez Thibaud Colas
rodzic a44ff723b0
commit b6387f79b6
3 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -7,7 +7,7 @@
{% block content %}
<header class="merged tab-merged">
<header class="merged tab-merged" role="banner">
{% explorer_breadcrumb parent_page include_self=1 %}
<div class="row row-flush">
@ -23,7 +23,7 @@
<input type="hidden" name="next" value="{{ next }}">
{{ edit_handler.render_form_content }}
<footer>
<footer role="contentinfo">
<ul>
<li class="actions">
<div class="dropdown dropup dropdown-button match-width">

Wyświetl plik

@ -34,7 +34,7 @@
<input type="hidden" name="revision" value="{{ revision.id|unlocalize }}" />
{% endif %}
<footer>
<footer role="contentinfo">
<ul>
<li class="actions">
<div class="dropdown dropup dropdown-button match-width {% if is_revision %}warning{% endif %}">

Wyświetl plik

@ -17,7 +17,7 @@
add_link - if present, display an 'add' button. This is a URL route name (taking no parameters) to be used as the link URL for the button
add_text - text for the 'add' button
{% endcomment %}
<header class="{% if merged %}merged{% endif %} {% if tabbed %}tab-merged{% endif %} {% if search_form %}hasform{% endif %}">
<header class="{% if merged %}merged{% endif %} {% if tabbed %}tab-merged{% endif %} {% if search_form %}hasform{% endif %}" role="banner">
{% block breadcrumb %}{% endblock %}
<div class="row nice-padding">
<div class="left">