Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
fix(core/dfn-panel): don't add title attribute to dfn (speced#3593)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidvishnoi authored Jun 4, 2021
1 parent 123373d commit 368661e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/core/dfn-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export async function run() {
// allowing keyboard action as needed.
el.tabIndex = 0;
el.setAttribute("aria-haspopup", "dialog");
if (!el.title) el.title = "Show what links to this definition";
}
document.body.append(panels);

Expand Down
1 change: 0 additions & 1 deletion tests/spec/core/dfn-index-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ describe("Core — dfn-index", () => {

expect(term.tabIndex).toBe(0);
expect(term.getAttribute("aria-haspopup")).toBe("dialog");
expect(term.title).toBe("Show what links to this definition");

expect(term.textContent).toBe("Event interface");
expect(term.id).toBe("index-term-event-interface");
Expand Down

0 comments on commit 368661e

Please sign in to comment.