From 7fc284eda0dc5cffc4d93cd32a236de60ef8b960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A9=E9=9F=AC?= Date: Thu, 6 Jun 2019 15:16:33 +0100 Subject: [PATCH] Solved Issues #3963 and #3960 --- notebook/static/tree/js/newnotebook.js | 1 + notebook/templates/notebook.html | 130 ++++++++++++------------- notebook/templates/tree.html | 16 +-- 3 files changed, 74 insertions(+), 73 deletions(-) diff --git a/notebook/static/tree/js/newnotebook.js b/notebook/static/tree/js/newnotebook.js index d0ea5d5c2..cdca12e14 100644 --- a/notebook/static/tree/js/newnotebook.js +++ b/notebook/static/tree/js/newnotebook.js @@ -63,6 +63,7 @@ define([ .attr("id", "kernel-" +ks.name) .data('kernelspec', ks).append( $('') + .attr("aria-label","list item 1,"+ks.name) .attr('href', '#') .click($.proxy(this.new_notebook, this, ks.name)) .text(ks.spec.display_name) diff --git a/notebook/templates/notebook.html b/notebook/templates/notebook.html index 579cc45c5..e4c3b912a 100644 --- a/notebook/templates/notebook.html +++ b/notebook/templates/notebook.html @@ -80,25 +80,25 @@ data-notebook-path="{{notebook_path | urlencode}}"