Add aria-label to close buttons

This commit is contained in:
Anton Khorev 2022-10-31 23:54:58 +03:00
parent 8b9d0ff560
commit 6c415ef142
5 changed files with 6 additions and 4 deletions

View file

@ -265,7 +265,8 @@ OSM.Directions = function (map) {
}
var turnByTurnTable = $("<table class='mb-3'>");
var directionsCloseButton = $("<button type='button' class='btn-close'>");
var directionsCloseButton = $("<button type='button' class='btn-close'>")
.attr("aria-label", I18n.t("javascripts.close"));
$("#sidebar_content")
.empty()