1export function setInputAriaLabel(id, value) { 2 3 const element = document.getElementById(id); 4 5 if (!!element) { 6 const inputElement = element.shadowRoot?.querySelector("input"); 7 8 // input field included in Shadow DOM 9 if (!!inputElement) { 10 inputElement.setAttribute("aria-label", value); 11 } 12 13 // Fluent element 14 else { 15 element.setAttribute("aria-label", value); 16 } 17 } 18}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.