Projet

Général

Profil

0001-templates-add-role-attributes-to-page-zones-34693.patch

Frédéric Péters, 09 juillet 2019 14:37

Télécharger (1,72 ko)

Voir les différences:

Subject: [PATCH] templates: add role attributes to page zones (#34693)

 static/toodego/_custom.scss | 2 +-
 templates/theme.html        | 8 +++++---
 2 files changed, 6 insertions(+), 4 deletions(-)
static/toodego/_custom.scss
117 117
	}
118 118

  
119 119
	@media screen and (max-width: $desktop-limit) {
120
		+ #main-content-wrapper #content {
120
		+ main #main-content-wrapper #content {
121 121
			margin-top: 0;
122 122
		}
123 123
	}
templates/theme.html
51 51
   </div>
52 52

  
53 53
   <div id="page" {% block page-args %}{% endblock %}>
54
    <header>
54
    <header role="banner">
55 55
    <div id="header-wrapper" >
56 56
    {% block header-pre %}{% endblock %}
57 57
    <div id="header">
......
80 80
    </header>
81 81

  
82 82
{% block nav %}
83
<nav>
83
<nav role="navigation">
84 84
<div id="nav-wrapper" class="gru-nav-wrapper">
85 85
{% block nav-pre %}{% endblock %}
86 86
<div id="nav" class="gru-nav togglable">
......
109 109
  {% block before-main-content %}
110 110
  {% endblock %}
111 111

  
112
  <main role="main">
112 113
  <div id="main-content-wrapper">
113 114
    <div id="main-content">
114 115

  
......
139 140

  
140 141
    </div> <!-- #main-content -->
141 142
    </div> <!-- #main-content-wrapper -->
143
   </main>
142 144

  
143
   <footer>
145
   <footer role="contentinfo">
144 146
    {% block footer-top %}{% endblock %}
145 147
    <div id="footer-wrapper">
146 148
    <div id="footer">
147
-