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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy