diff --git a/design/system/foundations.html b/design/system/foundations.html index 44af5291..4f68b0eb 100644 --- a/design/system/foundations.html +++ b/design/system/foundations.html @@ -11,6 +11,7 @@ + @@ -196,6 +197,14 @@
Shown in search results and when the site is shared.
+for and id.aria-describedby, the error first.aria-invalid="true" on the control. Required: required on the control; the asterisk is aria-hidden.role="group" on the field, or role="radiogroup" when the group is one of radios, so that the group is announced once. aria-labelledby names it by its label, and aria-describedby lists its error and its help on the same element. A radio group also takes aria-required and aria-invalid there.disabled.Label; Help; Error: shown when set, or taken from the EditFormRequired: shows the markHint: short text at the end of the label row, such as OptionalMaxLength: shows the counterHorizontal: the layout for settingsFor: the id of the control, generated when absentfl-field; --horizontal; parts fl-field__label, __required, __meta (with --over), __error, __helpfl-field; --horizontal, whose control spans the rows of the label and the help; parts fl-field__label, __required, __meta (with --over), __error, __helptext, text-subtle, danger-text--fl-space-1, -1-5, -3, --fl-gap-l, --fl-control-height-m--fl-font-size-m, -s, -xs, --fl-font-weight-medium, --fl-line-height-normalfl-input--short: for a number of items or a time, the box keeps 12 rem and does not fill the row of its field.aria-label outside one.aria-invalid="true". Read-only: readonly. Disabled: disabled.<button> with its own name, after the input in the tab order; a toggle carries aria-pressed.Value with @bind-Value; Type; Placeholder; NameSize: Small, Medium (default), LargeIcon: at the start; Prefix, Suffix: fixed textClearable: the clear action; a password gets its show actionMono: for code; ReadOnly; Disabled; MaxLength; AutoCompletefl-input; --s, --l, --mono; parts fl-input__control, __icon, __affix, __actionfl-input; --s, --l, --mono, --short; parts fl-input__control, __icon, __affix, __actionsurface, surface-subtle, border-control, border-strong, text, text-subtle, hover, pressed, accent-text, danger-solid, the disabled three--fl-control-height-*, --fl-control-padding-*, --fl-control-radius, --fl-icon-size-m, --fl-space-2, --fl-border-width--fl-control-font-size, --fl-font-size-s, --fl-font-family-mono, --fl-line-height-tight--fl-focus-ring, drawn on the border of the box--fl-input-height, -padding, -font-size, -inner-radius<nav> and the current one carries aria-current="page". This form needs no script.<div class="fl-tabs"> around a <div role="tablist"> of <button role="tab"> and one <div role="tabpanel"> for each tab, as drawn here. FlTabs sends a <nav> of jump links (<a href="…#panel">) and a <div> for each panel, all in the page, and the script of the library gives them the roles. As pages: <nav class="fl-tabs"> around the list of <a>, without the roles.aria-selected and aria-controls; a panel has aria-labelledby and tabindex="0".disabled; on a link aria-disabled="true" and no href.aria-current="page" on the current one.Label; Value with @bind-Value: the selected tab; ContainedValue; Text; Icon; Count; Status: None (default), Accent, Success, Warning, Danger, with StatusText; Href: the form with links, on every tab or on none; Disabled; ChildContent: the panelfl-tabs; --contained; parts fl-tabs__list, __tab (with __count, __dot and its tones --success, --warning, --danger), __panel. The tab is a part of the tabs, not a block of its own.Label; Actions: buttons at the end of the row; Value with @bind-Value: the selected tab; ContainedValue; Text; Icon; Count; Status: None (default), Accent, Success, Warning, Danger, with StatusText; Href: the form with links, on every tab or on none; Disabled; ChildContent: the panelfl-tabs (with __actions after the list); --contained; parts fl-tabs__list, __tab (with __count, __dot and its tones --success, --warning, --danger), __panel. The tab is a part of the tabs, not a block of its own.text, text-muted, border, hover, pressed, accent, accent-soft, accent-text, neutral-soft, neutral-text, the solid of success, warning and danger, disabled-fill, disabled-text--fl-row-height, --fl-inset-s, --fl-gap-m, --fl-space-1, -1-5, -2, -3, -5, -10, --fl-control-radius, --fl-radius-s, -full, --fl-border-width, -strong--fl-font-size-s, -2xs, --fl-font-weight-medium, -semibold, --fl-line-height-tight--fl-focus-ring, drawn inside the tab--fl-tabs-height, -inset, -gap, -fg, -fg-hover, -wash, -wash-pressed, -indicator, -count-bg, -count-fg, -dot