From 6cba35098c37f14c89657af525f9a7f0b7d08f22 Mon Sep 17 00:00:00 2001 From: Janina Date: Tue, 24 Aug 2021 14:00:08 +0200 Subject: [PATCH] bugfix for w3c error stated in issue #259 --- news/259.bugfix | 1 + plone/app/layout/viewlets/common.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/259.bugfix diff --git a/news/259.bugfix b/news/259.bugfix new file mode 100644 index 000000000..c4a4a80e1 --- /dev/null +++ b/news/259.bugfix @@ -0,0 +1 @@ +Fix the w3c validation error in the common.py by removing the role-attribute from the label [wkbkhard] \ No newline at end of file diff --git a/plone/app/layout/viewlets/common.py b/plone/app/layout/viewlets/common.py index 9d74eb982..93114e440 100644 --- a/plone/app/layout/viewlets/common.py +++ b/plone/app/layout/viewlets/common.py @@ -229,7 +229,7 @@ class GlobalSectionsViewlet(ViewletBase): _opener_markup_template = ( u'' - u'' # noqa: E 501 + u'' # noqa: E 501 ) _item_markup_template = ( u'