@wildwinter/app-shell 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -485,7 +485,9 @@ function pinButton(opts) {
485
485
  const reflect = () => {
486
486
  b.classList.toggle("on", pinned);
487
487
  b.setAttribute("aria-pressed", String(pinned));
488
- b.title = pinned ? "Pinned on top: click to unpin" : "Click to keep on top";
488
+ const label2 = pinned ? "Pinned on top: click to unpin" : "Click to keep on top";
489
+ b.dataset["tip"] = label2;
490
+ b.setAttribute("aria-label", label2);
489
491
  };
490
492
  reflect();
491
493
  b.addEventListener("click", () => {