mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-30 04:39:40 +02:00
put a11y into mermaidAPI render; add render spec (mock diagram renderers etc)
This commit is contained in:

parent
f62c5d9698
commit
29efc116f3
@@ -214,7 +214,9 @@ The functions for setting title and description are provided by a common module.
|
||||
clear as commonClear,
|
||||
} from '../../commonDb';
|
||||
|
||||
For rendering the accessibility tags you have again an existing function you can use.
|
||||
Starting with Mermaid version, the accessibility tags are inserted into the SVG element in the `render` function in mermaidAPI.
|
||||
|
||||
In version \_\_\_ and before, you need to insert the accessibility tags in your renderer:
|
||||
|
||||
**In the renderer:**
|
||||
|
||||
|
Reference in New Issue
Block a user