diff --git a/docs/docs/resources/changelog.md b/docs/docs/resources/changelog.md index 1c8e6db69..737ae5214 100644 --- a/docs/docs/resources/changelog.md +++ b/docs/docs/resources/changelog.md @@ -12,7 +12,11 @@ Components with the Experimental bad During the alpha period, things might break! We take breaking changes very seriously, but sometimes they're necessary to make the final product that much better. We appreciate your patience! ::: -## Web Awesome 1.0.0-alpha.1 +## Next + +- Fixed a bug where `` would announce the full time instead of the relative time in screen readers [#22](https://github.com/shoelace-style/webawesome-alpha/issues/22) + +## 1.0.0-alpha.1 - This is the initial release of Web Awesome alpha! diff --git a/src/components/relative-time/relative-time.ts b/src/components/relative-time/relative-time.ts index 8820636f6..c9aa3ef8c 100644 --- a/src/components/relative-time/relative-time.ts +++ b/src/components/relative-time/relative-time.ts @@ -109,7 +109,7 @@ export default class WaRelativeTime extends WebAwesomeElement { this.updateTimeout = window.setTimeout(() => this.requestUpdate(), nextInterval); } - return html` `; + return html` `; } }