Skip to content

Commit

Permalink
Changed main portlet sections into divs.
Browse files Browse the repository at this point in the history
These have no heading, so they should be divs.
They have a *header*, but that is not a *heading*: those are h1-h6.
  • Loading branch information
mauritsvanrees committed Mar 2, 2016
1 parent fcb77d6 commit 360fcaa
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions plone/app/portlets/portlets/language.pt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<tal:block i18n:domain="plone">

<section class="portlet portletLanguage">
<aside class="portlet portletLanguage">
<header class="portletHeader">
<span class="tile" i18n:translate="box_languages">Languages</span>
</header>
Expand Down Expand Up @@ -32,5 +32,5 @@
</ul>
</div>

</section>
</aside>
</tal:block>
8 changes: 4 additions & 4 deletions plone/app/portlets/portlets/login.pt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<tal:block condition="view/show"
i18n:domain="plone">

<section class="portlet portletLogin"
<aside class="portlet portletLogin"
tal:condition="view/available">

<header class="portletHeader">
Expand Down Expand Up @@ -106,9 +106,9 @@
</a>
</div>
</footer>
</section>
</aside>

<section class="portlet portletLogin"
<aside class="portlet portletLogin"
tal:condition="not:view/available">

<header class="portletHeader">
Expand All @@ -123,6 +123,6 @@
Login portlet not available.
</div>

</section>
</aside>

</tal:block>
4 changes: 2 additions & 2 deletions plone/app/portlets/portlets/navigation.pt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<tal:block i18n:domain="plone">
<section class="portlet portletNavigationTree"
<aside class="portlet portletNavigationTree"
role="navigation"
tal:define="root view/navigation_root">

Expand Down Expand Up @@ -43,5 +43,5 @@
</li>
</ul>
</nav>
</section>
</aside>
</tal:block>
4 changes: 2 additions & 2 deletions plone/app/portlets/portlets/news.pt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
tal:omit-tag="">
<section class="portlet portletNews"
<aside class="portlet portletNews"
i18n:domain="plone">

<header class="portletHeader">
Expand Down Expand Up @@ -51,5 +51,5 @@
</footer>
<footer class="portletFooter" tal:condition="not:view/all_news_link">
</footer>
</section>
</aside>
</html>
4 changes: 2 additions & 2 deletions plone/app/portlets/portlets/recent.pt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
tal:omit-tag="">
<section class="portlet portletRecent"
<aside class="portlet portletRecent"
i18n:domain="plone">

<header class="portletHeader">
Expand Down Expand Up @@ -61,5 +61,5 @@
</a>
</footer>

</section>
</aside>
</html>
4 changes: 2 additions & 2 deletions plone/app/portlets/portlets/review.pt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
tal:omit-tag="">
<section class="portlet portletWorkflowReview"
<aside class="portlet portletWorkflowReview"
i18n:domain="plone">

<header class="portletHeader">
Expand Down Expand Up @@ -55,5 +55,5 @@
tal:attributes="href full_review_link"
i18n:translate="box_full_review_list">Full review list&hellip;</a>
</footer>
</section>
</aside>
</html>
4 changes: 2 additions & 2 deletions plone/app/portlets/portlets/rss.pt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
tal:omit-tag="">
<section class="portlet portletRss"
<aside class="portlet portletRss"
i18n:domain="plone"
tal:condition="view/enabled">

Expand Down Expand Up @@ -47,5 +47,5 @@
<span i18n:translate="box_morelink">More&hellip;</span>
</a>
</footer>
</section>
</aside>
</html>
4 changes: 2 additions & 2 deletions plone/app/portlets/portlets/search.pt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
tal:omit-tag="">
<section class="portlet portletSearch" role="search"
<aside class="portlet portletSearch" role="search"
i18n:domain="plone">

<header class="portletHeader">
Expand Down Expand Up @@ -55,5 +55,5 @@
Advanced Search&hellip;
</a>
</footer>
</section>
</aside>
</html>

0 comments on commit 360fcaa

Please sign in to comment.