From 896ed50d643c54a19b5b680d07b4ebac8048748a Mon Sep 17 00:00:00 2001 From: Peter Holzer Date: Mon, 4 Feb 2019 17:34:45 +0100 Subject: [PATCH] add aria labels --- plone/app/layout/navigation/navtree.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plone/app/layout/navigation/navtree.py b/plone/app/layout/navigation/navtree.py index afa06b48..4006e65b 100644 --- a/plone/app/layout/navigation/navtree.py +++ b/plone/app/layout/navigation/navtree.py @@ -477,8 +477,9 @@ def build_tree(self, path, first_run=True): for it in self.navtree.get(path, []): sub = self.build_tree(path + '/' + it['id'], first_run=False) opener = u""" - """.format( - uid=it['uid'] + """.format( + uid=it['uid'], + title=it['title'] ) if sub else '' out += u'
  • '.format( id=normalizer.normalize(it['id']),