MCPcopy Create free account
hub / github.com/microsoft/SandDance / ariaMark

Function ariaMark

docs/app/js/sanddance-app.js:123960–123964  ·  view source on GitHub ↗
(mark)

Source from the content-addressed store, hash-verified

123958 } : AriaIgnore[mark.role] ? null : AriaGuides[mark.role] ? ariaGuide(mark, AriaGuides[mark.role]) : ariaMark(mark);
123959}
123960function ariaMark(mark) {
123961 const type21 = mark.marktype;
123962 const recurse1 = type21 === "group" || type21 === "text" || mark.items.some((_)=>_.description != null && _.aria !== false);
123963 return bundle(recurse1 ? GRAPHICS_OBJECT : GRAPHICS_SYMBOL, `${type21} mark container`, mark.description);
123964}
123965function ariaGuide(mark, opt) {
123966 try {
123967 const item = mark.items[0], caption = opt.caption || (()=>"");

Callers 1

ariaMarkAttributesFunction · 0.70

Calls 1

bundleFunction · 0.70

Tested by

no test coverage detected