#3074 Using regular title as a fallback for the accessibility title when no dedicated accessibility title is present

This commit is contained in:
Knut Sveidqvist
2022-05-24 18:52:37 +02:00
parent 6eef26f107
commit b82b2d2b78
6 changed files with 25 additions and 39 deletions

View File

@@ -11,6 +11,8 @@ import {
getAccDescription,
setAccDescription,
clear as commonClear,
setDiagramTitle,
getDiagramTitle,
} from '../../commonDb';
let dateFormat = '';
@@ -627,14 +629,6 @@ export const bindFunctions = function (element) {
});
};
const setDiagramTitle = function (txt) {
title = sanitizeText(txt);
};
const getDiagramTitle = function () {
return title;
};
export default {
parseDirective,
getConfig: () => configApi.getConfig().gantt,