From 88cba353c03c2e90d6edd06e5fa95e6853865ada Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Thu, 14 Oct 2021 08:34:54 -0400 Subject: [PATCH] add labels examples --- docs/components/progress-bar.md | 14 +++++++++++--- docs/components/progress-ring.md | 12 ++++++++++-- package.json | 2 +- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/docs/components/progress-bar.md b/docs/components/progress-bar.md index 9818b132e..5c2b8ed99 100644 --- a/docs/components/progress-bar.md +++ b/docs/components/progress-bar.md @@ -20,10 +20,18 @@ Use the `--height` custom property to set the progress bar's height. ### Labels -Use the default slot to show a label. +Use the `label` attribute to label the progress bar and tell assistive devices how to announce it. ```html preview -50% + +``` + +### Showing Values + +Use the default slot to show a value. + +```html preview +50%
@@ -31,7 +39,7 @@ Use the default slot to show a label.