diff --git a/web/html/src/components/buttons.stories.tsx b/web/html/src/components/buttons.stories.tsx index 4fd236ba73e3..23471d7cf27d 100644 --- a/web/html/src/components/buttons.stories.tsx +++ b/web/html/src/components/buttons.stories.tsx @@ -10,13 +10,9 @@ export default () => {
Different button styling variants tailored for various scenarios as required.
Tertiary buttons are designed for less prominent actions and should not compete visually with primary or secondary buttons.
+Use icon-only tertiary buttons in cards, forms, inline action or components where space is limited.
+Icon-only buttons should always include a descriptive title
attribute or an accessible label (via aria-labe
l or aria-labelledby
) to ensure clarity and accessibility for all users.
Example: Inline action buttons for editing an email address in a form.
When grouping buttons aligned to the left, place the primary button at the far left, followed by the button for the next most important action.
+Example: Form
+