Commit a50c1ab3 authored by Denis Chenu's avatar Denis Chenu

[fix] Accessibility : hide scrollToTop to screnreader

parent 014dc6f0
......@@ -90,7 +90,7 @@ function noScrollOnSelect()
/* Add a little icon with Scroll to top : /!\ no text put inaccessible */
function addScrollTop(){
$("<a href='#' class='scrollToTop'>&nbsp;</a>").appendTo("body");
$("<a href='#' class='scrollToTop' aria-hidden='true'>&nbsp;</a>").appendTo("body");
if ($(this).scrollTop() > 100) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment