Labels were inserted as normal DOM siblings with z-index set but position left as the default "static" - z-index has no effect on non-positioned elements, so any ancestor that establishes its own stacking context (e.g. a position:relative logo wrapper with a hover/link overlay, common in component libraries like Salesforce LWC/SLDS) could paint over the label and swallow clicks intended for it. Labels now get a real position:absolute anchored to the target element's viewport position and are appended directly to document.body, escaping any ancestor stacking context while still scrolling correctly with the page. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| alt-text-checker.min.js | ||
| bookmarklet.txt | ||