MCPcopy Index your code
hub / github.com/microsoft/SandDance / ariaMarkAttributes

Function ariaMarkAttributes

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

Source from the content-addressed store, hash-verified

123953 }
123954}
123955function ariaMarkAttributes(mark) {
123956 return mark.aria === false ? {
123957 [ARIA_HIDDEN]: true
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);

Callers 1

markFunction · 0.70

Calls 2

ariaGuideFunction · 0.70
ariaMarkFunction · 0.70

Tested by

no test coverage detected