summaryrefslogtreecommitdiff
path: root/program/js/treelist.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-04-30 16:21:29 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-04-30 16:21:29 +0200
commite8bcf08c72a18b3bf396e6448d6658227ecb46f2 (patch)
treedd4dc60d87f2340114eb9dcaaf7a567e09cdc995 /program/js/treelist.js
parent2d8f31da736550a0df3ccde31bf85a146aea45c0 (diff)
1. Prepare core and Larry skin for improved accessibility
2. Implement full keyboard navigation in main mail view
Diffstat (limited to 'program/js/treelist.js')
-rw-r--r--program/js/treelist.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/program/js/treelist.js b/program/js/treelist.js
index 353eb6be7..0dbedd256 100644
--- a/program/js/treelist.js
+++ b/program/js/treelist.js
@@ -105,6 +105,8 @@ function rcube_treelist_widget(node, p)
}
});
+ container.attr('role', 'tree');
+
/////// private methods
@@ -425,6 +427,9 @@ function rcube_treelist_widget(node, p)
selection = node.id;
}
+ // declare list item as treeitem
+ li.attr('role', 'treeitem');
+
result.push(node);
indexbyid[node.id] = node;
})