mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 06:49:47 +02:00
#3074 Using regular title as a fallback for the accessibility title when no dedicated accessibility title is present
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user