summaryrefslogtreecommitdiff
path: root/themes/blowfish/assets/lib/mermaid/accessibility.d.ts
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-07-15 22:27:55 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-07-15 22:27:55 +0200
commit3be5285488090ab70254b3080e33e64e6c702d2c (patch)
tree1e54462f560fd759b5be13d5ecfe1fa5c2c832ed /themes/blowfish/assets/lib/mermaid/accessibility.d.ts
parent69075c6fb15ae660fc3d78eb2a4dfcde1c5fba1c (diff)
sync theme
Diffstat (limited to 'themes/blowfish/assets/lib/mermaid/accessibility.d.ts')
-rw-r--r--themes/blowfish/assets/lib/mermaid/accessibility.d.ts27
1 files changed, 0 insertions, 27 deletions
diff --git a/themes/blowfish/assets/lib/mermaid/accessibility.d.ts b/themes/blowfish/assets/lib/mermaid/accessibility.d.ts
deleted file mode 100644
index 7e9703e..0000000
--- a/themes/blowfish/assets/lib/mermaid/accessibility.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Accessibility (a11y) functions, types, helpers.
- *
- * @see https://www.w3.org/WAI/
- * @see https://www.w3.org/TR/wai-aria-1.1/
- * @see https://www.w3.org/TR/svg-aam-1.0/
- */
-import type { D3Element } from './mermaidAPI.js';
-/**
- * Add role and aria-roledescription to the svg element.
- *
- * @param svg - d3 object that contains the SVG HTML element
- * @param diagramType - diagram name for to the aria-roledescription
- */
-export declare function setA11yDiagramInfo(svg: D3Element, diagramType: string): void;
-/**
- * Add an accessible title and/or description element to a chart.
- * The title is usually not displayed and the description is never displayed.
- *
- * The following charts display their title as a visual and accessibility element: gantt.
- *
- * @param svg - d3 node to insert the a11y title and desc info
- * @param a11yTitle - a11y title. undefined or empty strings mean to skip them
- * @param a11yDesc - a11y description. undefined or empty strings mean to skip them
- * @param baseId - id used to construct the a11y title and description id
- */
-export declare function addSVGa11yTitleDescription(svg: D3Element, a11yTitle: string | undefined, a11yDesc: string | undefined, baseId: string): void;