@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.js CHANGED
@@ -473,7 +473,9 @@ function pinButton(opts) {
473
473
  const reflect = () => {
474
474
  b.classList.toggle("on", pinned);
475
475
  b.setAttribute("aria-pressed", String(pinned));
476
- b.title = pinned ? "Pinned on top: click to unpin" : "Click to keep on top";
476
+ const label2 = pinned ? "Pinned on top: click to unpin" : "Click to keep on top";
477
+ b.dataset["tip"] = label2;
478
+ b.setAttribute("aria-label", label2);
477
479
  };
478
480
  reflect();
479
481
  b.addEventListener("click", () => {