Skip to content

Commit

Permalink
Removed role 'section' from section.
Browse files Browse the repository at this point in the history
A section is already a section, so there is no need for a role with this name/
Also, no such role exists.
If no role is given explicitly, the default 'region' role is used,
and such a default role should not be set, as browsers do that themselves.

See http://w3c.github.io/html/sections.html#the-section-element
  • Loading branch information
mauritsvanrees committed Mar 2, 2016
1 parent c6ca0d5 commit c4ccd99
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 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" role="section">
<section class="portlet portletLanguage">
<header class="portletHeader">
<span class="tile" i18n:translate="box_languages">Languages</span>
</header>
Expand Down
2 changes: 1 addition & 1 deletion 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" role="section"
<section class="portlet portletLogin"
tal:condition="view/available">

<header class="portletHeader">
Expand Down
2 changes: 1 addition & 1 deletion 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" role="section"
<section class="portlet portletNews"
i18n:domain="plone">

<header class="portletHeader">
Expand Down
2 changes: 1 addition & 1 deletion 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" role="section"
<section class="portlet portletRecent"
i18n:domain="plone">

<header class="portletHeader">
Expand Down
2 changes: 1 addition & 1 deletion 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" role="section"
<section class="portlet portletWorkflowReview"
i18n:domain="plone">

<header class="portletHeader">
Expand Down
2 changes: 1 addition & 1 deletion 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" role="section"
<section class="portlet portletRss"
i18n:domain="plone"
tal:condition="view/enabled">

Expand Down

0 comments on commit c4ccd99

Please sign in to comment.