Skip to content

Commit 5b68e4a

Browse files
authored
remove setting of aria-label
1 parent ed48ea7 commit 5b68e4a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/relative-time-element.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,6 @@ export default class RelativeTimeElement extends HTMLElement implements Intl.Dat
450450
this.#renderRoot.textContent = this.textContent
451451
}
452452

453-
this.setAttribute('aria-label', `${this.#renderRoot.textContent} (${this.getAttribute('title')})`)
454-
455453
if (newText !== oldText || newTitle !== oldTitle) {
456454
this.dispatchEvent(new RelativeTimeUpdatedEvent(oldText, newText, oldTitle, newTitle))
457455
}

0 commit comments

Comments
 (0)