#3074 Cleanup and fixes for issues with accessibility for gantt and journey diagrams

This commit is contained in:
Knut Sveidqvist
2022-05-24 18:20:05 +02:00
parent 56f79692a3
commit 2ab1e162ea
33 changed files with 154 additions and 81 deletions

View File

@@ -168,7 +168,7 @@ describe('parsing a flow chart', function () {
`;
flow.parser.parse(flowChart);
expect(flow.parser.yy.getTitle()).toBe('Big decisions');
expect(flow.parser.yy.getAccTitle()).toBe('Big decisions');
expect(flow.parser.yy.getAccDescription()).toBe('Flow chart of the decision making process');
});
it('should add accTitle and a multi line accDescr to flow chart', function () {
@@ -187,7 +187,7 @@ describe('parsing a flow chart', function () {
`;
flow.parser.parse(flowChart);
expect(flow.parser.yy.getTitle()).toBe('Big decisions');
expect(flow.parser.yy.getAccTitle()).toBe('Big decisions');
expect(flow.parser.yy.getAccDescription()).toBe(
`Flow chart of the decision making process
with a second line`