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

Function ariaLabel

docs/app/js/sanddance-app.js:141662–141664  ·  view source on GitHub ↗
(el, desc)

Source from the content-addressed store, hash-verified

141660 }
141661} // update aria-label if we have a DOM container element
141662function ariaLabel(el, desc) {
141663 if (el) desc == null ? el.removeAttribute("aria-label") : el.setAttribute("aria-label", desc);
141664}
141665function background(view) {
141666 // respond to background signal
141667 view.add(null, (_)=>{

Callers 2

initializeAriaFunction · 0.70
descriptionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected