From e0e535531737c402da1fd14be66811087da8ebab Mon Sep 17 00:00:00 2001 From: Tommmaso Menga Date: Wed, 24 Jul 2024 10:31:55 +0200 Subject: [PATCH] docs(sbb-mini-button-group): improve a11y examples --- src/elements/mini-button-group/readme.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/elements/mini-button-group/readme.md b/src/elements/mini-button-group/readme.md index 5dd7f0e56e..2df39e2d59 100644 --- a/src/elements/mini-button-group/readme.md +++ b/src/elements/mini-button-group/readme.md @@ -1,11 +1,11 @@ The `sbb-mini-button-group` component displays a set of [sbb-mini-button](/docs/elements-sbb-button-sbb-mini-button--docs) optionally separated by a [sbb-divider](/docs/elements-sbb-divider--docs). ```html - - - + + + - + ``` @@ -19,6 +19,10 @@ There are four available sizes: `s`, `m` (default), `l` and `xl`. ... ``` +## Accessibility + +Use the `accessibility-label` property to describe the purpose of the `sbb-mini-button-group` for screen-reader users. + ## Properties