Alert

Ein Alert macht den User auf eine wichtige Information aufmerksam. Er ist visuell hervorgehoben und sollte nur bei relevanten, nicht ignorierbaren Inhalten verwendet werden.

Grundlagen

Ein Alert ist ein UI-Element zur Kommunikation wichtiger Informationen, die Aufmerksamkeit erfordern. Alerts sollten sparsam und gezielt eingesetzt werden, da sie visuell hervorgehoben sind und den Nutzerfluss unterbrechen können. Sie können informativ, warnend, kritisch oder bestätigend sein.

Best Practices

Achte bei der Verwendung eines Alerts darauf, dass ...

  • der Alert nur verwendet wird, wenn der Inhalt wirklich die Aufmerksamkeit des Users benötigt. Für rein informative Hinweise kann ein weniger auffälliges Element (z. B. ein Hinweistext) ausreichend sein.
  • der Schweregrad sinnvoll gewählt ist – danger für sofortigen Handlungsbedarf, warning für Handlungsbedarf, info für eine wichtige Information und success für einen Erfolg.
  • der Text klar, prägnant und lösungsorientiert formuliert ist. Vermeide technische Fachbegriffe oder Schuldzuweisungen. Beachte die Content Guidelines für Fehlermeldungen.
  • er möglichst eine Handlungsmöglichkeit bietet.

Verwendung

Verwende einen Alert, um ...

  • dem User mitzuteilen, dass ein Fehler aufgetreten ist – verursacht durch sein Handeln oder durch das System.
  • vor einer möglichen Folge oder Auswirkung zu warnen.
  • wichtige Statusänderungen oder Systemereignisse mitzuteilen.
  • zusätzliche wichtige Informationen oder Hinweise in einem bestimmten Kontext bereitzustellen.

Alert vs AccentBox

Alerts und AccentBoxen dienen beide dazu, dem User zusätzliche Informationen bereitzustellen. Eine einfache Faustregel hilft bei der Entscheidung: Kann die Information ignoriert werden, ohne negative Folgen? Dann ist eine AccentBox die richtige Wahl. Wenn das Ignorieren hingegen zu Problemen führen könnte – etwa bei sicherheitsrelevanten Hinweisen oder wichtigen Systemmeldungen – sollte ein Alert mit entsprechendem Status verwendet werden.

Verwende Alerts, um z. B. ...

  • den User auf sicherheits- oder funktionsrelevante Informationen hinzuweisen.
  • vor möglichen Problemen oder Systemzuständen zu warnen.
  • dringende oder aktionsrelevante Statusmeldungen zu kommunizieren.

Verwende AccentBoxen, um z. B. ...

  • ergänzende, aber nicht kritische Hinweise anzuzeigen.
  • kontextuelle Informationen oder Tipps zu geben.
  • visuell strukturierende Inhalte einzubetten, ohne zu unterbrechen.

Anwendung

Position

Ein Alert sollte immer in unmittelbarem Zusammenhang mit dem betroffenen Inhalt platziert werden. Er wird in der passenden Section untergebracht oder, wenn sein Hinweis für die gesamte Seite gilt, in der LayoutCard oberhalb aller Sections.

E-Mail-Adresse

...

Speicherplatz

...

Do

Bezieht sich der Alert auf eine bestimmte Section, wird er im Content der Section platziert.

E-Mail-Adresse

...

Speicherplatz

...

Do

Bezieht sich der Alert auf den gesamten Inhalt, wird er prominent oberhalb der ersten Section innerhalb der LayoutCard platziert.


Writing Guidelines

Heading

Die Heading sollte das Problem oder Ereignis kurz und prägnant benennen.

Content

Zuerst sollte die Ursache vermittelt werden: Was ist passiert und welche Folgen ergeben sich daraus? Anschließend sollte erklärt werden, was der User tun kann, um die Situation zu lösen. Wenn es den User unterstützt, können optional zusätzlicher Kontext oder technische Hintergründe erklärt werden.

Weitere Formulierungshilfen stehen in unseren Content Guidelines unter Fehlermeldungen.

Action (optional)

Optional kann ein Alert auch eine direkte Handlung ermöglichen, etwa über einen Button zur Problemlösung oder einen Link zu weiteren Informationen bzw. zur relevanten Stelle.

Beispiel

Playground

Verwende <Alert />, um einen Alert darzustellen.

import {
  Alert,
  Heading,
} from "@mittwald/flow-react-components";

<Alert>
  <Heading>E-Mail-Adresse wurde archiviert</Heading>
</Alert>

Mit Inhalt

Der Text eines Alerts sollte klar, prägnant und handlungsorientiert formuliert sein. Er erklärt dem User, was passiert ist, warum es relevant ist und was als Nächstes zu tun ist. Wenn möglich, biete dem User eine Möglichkeit, sein Problem zu lösen – verwende dazu einen Link oder Button. Eingefügte Buttons werden automatisch in der Größe Small dargestellt, um ein ausgewogenes Verhältnis im Gesamtbild zu gewährleisten.


Status

Je nach Anwendungsfall stehen verschiedene Status-Farben zur Auswahl:

Info: Allgemeine Systemzustände oder laufende Prozesse, die keine Aktion erfordern.

Warning: Hinweise auf mögliche Risiken mit einer klaren Handlungsempfehlung.

Danger: Akute Fehlerzustände oder kritische Probleme, die sofortige Aufmerksamkeit erfordern.

Success: Abgeschlossene, erfolgreiche oder positiv bewertete Zustände.

Unavailable: Zustände aufgrund von nicht verfügbaren oder gelöschten Inhalten.

Properties

PropertyTypeDefaultDescription
refRef<HTMLSpanElement>-Allows getting a ref to the component instance. Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref). @see React Docs
keyKey-
defaultCheckedboolean-
defaultValuestring | number | readonly string[]-
suppressContentEditableWarningboolean-
suppressHydrationWarningboolean-
accessKeystring-
autoCapitalize"none" | (string & {}) | "off" | "on" | "sentences" | "words" | "characters"-
autoFocusboolean-
classNamestring-
contentEditable"inherit" | Booleanish | "plaintext-only"-
contextMenustring-
dirstring-
draggableBooleanish-
enterKeyHint"enter" | "done" | "go" | "next" | "previous" | "search" | "send"-
hiddenboolean-
idstring-
langstring-
noncestring-
slotstring-
spellCheckBooleanish-
styleCSSProperties-
tabIndexnumber-
titlestring-
translate"yes" | "no"-
radioGroupstring-
roleAriaRole-
aboutstring-
contentstring-
datatypestring-
inlistany-
prefixstring-
propertystring-
relstring-
resourcestring-
revstring-
typeofstring-
vocabstring-
autoCorrectstring-
autoSavestring-
colorstring-
itemPropstring-
itemScopeboolean-
itemTypestring-
itemIDstring-
itemRefstring-
resultsnumber-
securitystring-
unselectable"off" | "on"-
popover"" | "manual" | "auto" | "hint"-
popoverTargetAction"toggle" | "show" | "hide"-
popoverTargetstring-
inertboolean-@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert
inputMode"text" | "none" | "search" | "url" | "tel" | "email" | "numeric" | "decimal"-Hints at the type of data that might be entered by the user while editing the element or its contents @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
isstring-Specify that a standard HTML element should behave like a defined custom built-in element @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
exportpartsstring-@see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts
partstring-@see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part
childrenReactNode-
dangerouslySetInnerHTML{ __html: string | TrustedHTML; }-
status"info" | "success" | "warning" | "danger" | "unavailable"-The elements status
wrapWithReactElement<unknown, string | JSXElementConstructor<any>>-

Events

PropertyTypeDefaultDescription
onCopyClipboardEventHandler<HTMLSpanElement>-
onCopyCaptureClipboardEventHandler<HTMLSpanElement>-
onCutClipboardEventHandler<HTMLSpanElement>-
onCutCaptureClipboardEventHandler<HTMLSpanElement>-
onPasteClipboardEventHandler<HTMLSpanElement>-
onPasteCaptureClipboardEventHandler<HTMLSpanElement>-
onCompositionEndCompositionEventHandler<HTMLSpanElement>-
onCompositionEndCaptureCompositionEventHandler<HTMLSpanElement>-
onCompositionStartCompositionEventHandler<HTMLSpanElement>-
onCompositionStartCaptureCompositionEventHandler<HTMLSpanElement>-
onCompositionUpdateCompositionEventHandler<HTMLSpanElement>-
onCompositionUpdateCaptureCompositionEventHandler<HTMLSpanElement>-
onFocusFocusEventHandler<HTMLSpanElement>-
onFocusCaptureFocusEventHandler<HTMLSpanElement>-
onBlurFocusEventHandler<HTMLSpanElement>-
onBlurCaptureFocusEventHandler<HTMLSpanElement>-
onChangeChangeEventHandler<HTMLSpanElement, Element>-
onChangeCaptureChangeEventHandler<HTMLSpanElement, Element>-
onBeforeInputInputEventHandler<HTMLSpanElement>-
onBeforeInputCaptureInputEventHandler<HTMLSpanElement>-
onInputInputEventHandler<HTMLSpanElement>-
onInputCaptureInputEventHandler<HTMLSpanElement>-
onResetReactEventHandler<HTMLSpanElement>-
onResetCaptureReactEventHandler<HTMLSpanElement>-
onSubmitSubmitEventHandler<HTMLSpanElement>-
onSubmitCaptureSubmitEventHandler<HTMLSpanElement>-
onInvalidReactEventHandler<HTMLSpanElement>-
onInvalidCaptureReactEventHandler<HTMLSpanElement>-
onLoadReactEventHandler<HTMLSpanElement>-
onLoadCaptureReactEventHandler<HTMLSpanElement>-
onErrorReactEventHandler<HTMLSpanElement>-
onErrorCaptureReactEventHandler<HTMLSpanElement>-
onKeyDownKeyboardEventHandler<HTMLSpanElement>-
onKeyDownCaptureKeyboardEventHandler<HTMLSpanElement>-
onKeyPressKeyboardEventHandler<HTMLSpanElement>-@deprecated Use `onKeyUp` or `onKeyDown` instead
onKeyPressCaptureKeyboardEventHandler<HTMLSpanElement>-@deprecated Use `onKeyUpCapture` or `onKeyDownCapture` instead
onKeyUpKeyboardEventHandler<HTMLSpanElement>-
onKeyUpCaptureKeyboardEventHandler<HTMLSpanElement>-
onAbortReactEventHandler<HTMLSpanElement>-
onAbortCaptureReactEventHandler<HTMLSpanElement>-
onCanPlayReactEventHandler<HTMLSpanElement>-
onCanPlayCaptureReactEventHandler<HTMLSpanElement>-
onCanPlayThroughReactEventHandler<HTMLSpanElement>-
onCanPlayThroughCaptureReactEventHandler<HTMLSpanElement>-
onDurationChangeReactEventHandler<HTMLSpanElement>-
onDurationChangeCaptureReactEventHandler<HTMLSpanElement>-
onEmptiedReactEventHandler<HTMLSpanElement>-
onEmptiedCaptureReactEventHandler<HTMLSpanElement>-
onEncryptedReactEventHandler<HTMLSpanElement>-
onEncryptedCaptureReactEventHandler<HTMLSpanElement>-
onEndedReactEventHandler<HTMLSpanElement>-
onEndedCaptureReactEventHandler<HTMLSpanElement>-
onLoadedDataReactEventHandler<HTMLSpanElement>-
onLoadedDataCaptureReactEventHandler<HTMLSpanElement>-
onLoadedMetadataReactEventHandler<HTMLSpanElement>-
onLoadedMetadataCaptureReactEventHandler<HTMLSpanElement>-
onLoadStartReactEventHandler<HTMLSpanElement>-
onLoadStartCaptureReactEventHandler<HTMLSpanElement>-
onPauseReactEventHandler<HTMLSpanElement>-
onPauseCaptureReactEventHandler<HTMLSpanElement>-
onPlayReactEventHandler<HTMLSpanElement>-
onPlayCaptureReactEventHandler<HTMLSpanElement>-
onPlayingReactEventHandler<HTMLSpanElement>-
onPlayingCaptureReactEventHandler<HTMLSpanElement>-
onProgressReactEventHandler<HTMLSpanElement>-
onProgressCaptureReactEventHandler<HTMLSpanElement>-
onRateChangeReactEventHandler<HTMLSpanElement>-
onRateChangeCaptureReactEventHandler<HTMLSpanElement>-
onSeekedReactEventHandler<HTMLSpanElement>-
onSeekedCaptureReactEventHandler<HTMLSpanElement>-
onSeekingReactEventHandler<HTMLSpanElement>-
onSeekingCaptureReactEventHandler<HTMLSpanElement>-
onStalledReactEventHandler<HTMLSpanElement>-
onStalledCaptureReactEventHandler<HTMLSpanElement>-
onSuspendReactEventHandler<HTMLSpanElement>-
onSuspendCaptureReactEventHandler<HTMLSpanElement>-
onTimeUpdateReactEventHandler<HTMLSpanElement>-
onTimeUpdateCaptureReactEventHandler<HTMLSpanElement>-
onVolumeChangeReactEventHandler<HTMLSpanElement>-
onVolumeChangeCaptureReactEventHandler<HTMLSpanElement>-
onWaitingReactEventHandler<HTMLSpanElement>-
onWaitingCaptureReactEventHandler<HTMLSpanElement>-
onAuxClickMouseEventHandler<HTMLSpanElement>-
onAuxClickCaptureMouseEventHandler<HTMLSpanElement>-
onClickMouseEventHandler<HTMLSpanElement>-
onClickCaptureMouseEventHandler<HTMLSpanElement>-
onContextMenuMouseEventHandler<HTMLSpanElement>-
onContextMenuCaptureMouseEventHandler<HTMLSpanElement>-
onDoubleClickMouseEventHandler<HTMLSpanElement>-
onDoubleClickCaptureMouseEventHandler<HTMLSpanElement>-
onDragDragEventHandler<HTMLSpanElement>-
onDragCaptureDragEventHandler<HTMLSpanElement>-
onDragEndDragEventHandler<HTMLSpanElement>-
onDragEndCaptureDragEventHandler<HTMLSpanElement>-
onDragEnterDragEventHandler<HTMLSpanElement>-
onDragEnterCaptureDragEventHandler<HTMLSpanElement>-
onDragExitDragEventHandler<HTMLSpanElement>-
onDragExitCaptureDragEventHandler<HTMLSpanElement>-
onDragLeaveDragEventHandler<HTMLSpanElement>-
onDragLeaveCaptureDragEventHandler<HTMLSpanElement>-
onDragOverDragEventHandler<HTMLSpanElement>-
onDragOverCaptureDragEventHandler<HTMLSpanElement>-
onDragStartDragEventHandler<HTMLSpanElement>-
onDragStartCaptureDragEventHandler<HTMLSpanElement>-
onDropDragEventHandler<HTMLSpanElement>-
onDropCaptureDragEventHandler<HTMLSpanElement>-
onMouseDownMouseEventHandler<HTMLSpanElement>-
onMouseDownCaptureMouseEventHandler<HTMLSpanElement>-
onMouseEnterMouseEventHandler<HTMLSpanElement>-
onMouseLeaveMouseEventHandler<HTMLSpanElement>-
onMouseMoveMouseEventHandler<HTMLSpanElement>-
onMouseMoveCaptureMouseEventHandler<HTMLSpanElement>-
onMouseOutMouseEventHandler<HTMLSpanElement>-
onMouseOutCaptureMouseEventHandler<HTMLSpanElement>-
onMouseOverMouseEventHandler<HTMLSpanElement>-
onMouseOverCaptureMouseEventHandler<HTMLSpanElement>-
onMouseUpMouseEventHandler<HTMLSpanElement>-
onMouseUpCaptureMouseEventHandler<HTMLSpanElement>-
onSelectReactEventHandler<HTMLSpanElement>-
onSelectCaptureReactEventHandler<HTMLSpanElement>-
onTouchCancelTouchEventHandler<HTMLSpanElement>-
onTouchCancelCaptureTouchEventHandler<HTMLSpanElement>-
onTouchEndTouchEventHandler<HTMLSpanElement>-
onTouchEndCaptureTouchEventHandler<HTMLSpanElement>-
onTouchMoveTouchEventHandler<HTMLSpanElement>-
onTouchMoveCaptureTouchEventHandler<HTMLSpanElement>-
onTouchStartTouchEventHandler<HTMLSpanElement>-
onTouchStartCaptureTouchEventHandler<HTMLSpanElement>-
onPointerDownPointerEventHandler<HTMLSpanElement>-
onPointerDownCapturePointerEventHandler<HTMLSpanElement>-
onPointerMovePointerEventHandler<HTMLSpanElement>-
onPointerMoveCapturePointerEventHandler<HTMLSpanElement>-
onPointerUpPointerEventHandler<HTMLSpanElement>-
onPointerUpCapturePointerEventHandler<HTMLSpanElement>-
onPointerCancelPointerEventHandler<HTMLSpanElement>-
onPointerCancelCapturePointerEventHandler<HTMLSpanElement>-
onPointerEnterPointerEventHandler<HTMLSpanElement>-
onPointerLeavePointerEventHandler<HTMLSpanElement>-
onPointerOverPointerEventHandler<HTMLSpanElement>-
onPointerOverCapturePointerEventHandler<HTMLSpanElement>-
onPointerOutPointerEventHandler<HTMLSpanElement>-
onPointerOutCapturePointerEventHandler<HTMLSpanElement>-
onGotPointerCapturePointerEventHandler<HTMLSpanElement>-
onGotPointerCaptureCapturePointerEventHandler<HTMLSpanElement>-
onLostPointerCapturePointerEventHandler<HTMLSpanElement>-
onLostPointerCaptureCapturePointerEventHandler<HTMLSpanElement>-
onScrollUIEventHandler<HTMLSpanElement>-
onScrollCaptureUIEventHandler<HTMLSpanElement>-
onScrollEndUIEventHandler<HTMLSpanElement>-
onScrollEndCaptureUIEventHandler<HTMLSpanElement>-
onWheelWheelEventHandler<HTMLSpanElement>-
onWheelCaptureWheelEventHandler<HTMLSpanElement>-
onAnimationStartAnimationEventHandler<HTMLSpanElement>-
onAnimationStartCaptureAnimationEventHandler<HTMLSpanElement>-
onAnimationEndAnimationEventHandler<HTMLSpanElement>-
onAnimationEndCaptureAnimationEventHandler<HTMLSpanElement>-
onAnimationIterationAnimationEventHandler<HTMLSpanElement>-
onAnimationIterationCaptureAnimationEventHandler<HTMLSpanElement>-
onToggleToggleEventHandler<HTMLSpanElement>-
onBeforeToggleToggleEventHandler<HTMLSpanElement>-
onTransitionCancelTransitionEventHandler<HTMLSpanElement>-
onTransitionCancelCaptureTransitionEventHandler<HTMLSpanElement>-
onTransitionEndTransitionEventHandler<HTMLSpanElement>-
onTransitionEndCaptureTransitionEventHandler<HTMLSpanElement>-
onTransitionRunTransitionEventHandler<HTMLSpanElement>-
onTransitionRunCaptureTransitionEventHandler<HTMLSpanElement>-
onTransitionStartTransitionEventHandler<HTMLSpanElement>-
onTransitionStartCaptureTransitionEventHandler<HTMLSpanElement>-

Accessibility

PropertyTypeDefaultDescription
aria-activedescendantstring-Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
aria-atomicBooleanish-Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
aria-autocomplete"list" | "none" | "inline" | "both"-Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
aria-braillelabelstring-Defines a string value that labels the current element, which is intended to be converted into Braille. @see aria-label.
aria-brailleroledescriptionstring-Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. @see aria-roledescription.
aria-busyBooleanish-
aria-checkedboolean | "false" | "true" | "mixed"-Indicates the current "checked" state of checkboxes, radio buttons, and other widgets. @see aria-pressed @see aria-selected.
aria-colcountnumber-Defines the total number of columns in a table, grid, or treegrid. @see aria-colindex.
aria-colindexnumber-Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. @see aria-colcount @see aria-colspan.
aria-colindextextstring-Defines a human readable text alternative of aria-colindex. @see aria-rowindextext.
aria-colspannumber-Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. @see aria-colindex @see aria-rowspan.
aria-controlsstring-Identifies the element (or elements) whose contents or presence are controlled by the current element. @see aria-owns.
aria-currentboolean | "step" | "false" | "true" | "time" | "page" | "location" | "date"-Indicates the element that represents the current item within a container or set of related elements.
aria-describedbystring-Identifies the element (or elements) that describes the object. @see aria-labelledby
aria-descriptionstring-Defines a string value that describes or annotates the current element. @see related aria-describedby.
aria-detailsstring-Identifies the element that provides a detailed, extended description for the object. @see aria-describedby.
aria-disabledBooleanish-Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. @see aria-hidden @see aria-readonly.
aria-dropeffect"none" | "link" | "copy" | "execute" | "move" | "popup"-Indicates what functions can be performed when a dragged object is released on the drop target. @deprecated in ARIA 1.1
aria-errormessagestring-Identifies the element that provides an error message for the object. @see aria-invalid @see aria-describedby.
aria-expandedBooleanish-Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
aria-flowtostring-Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
aria-grabbedBooleanish-Indicates an element's "grabbed" state in a drag-and-drop operation. @deprecated in ARIA 1.1
aria-haspopupboolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog"-Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
aria-hiddenBooleanish-Indicates whether the element is exposed to an accessibility API. @see aria-disabled.
aria-invalidboolean | "false" | "true" | "grammar" | "spelling"-Indicates the entered value does not conform to the format expected by the application. @see aria-errormessage.
aria-keyshortcutsstring-Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
aria-labelstring-Defines a string value that labels the current element. @see aria-labelledby.
aria-labelledbystring-Identifies the element (or elements) that labels the current element. @see aria-describedby.
aria-levelnumber-Defines the hierarchical level of an element within a structure.
aria-live"off" | "assertive" | "polite"-Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
aria-modalBooleanish-Indicates whether an element is modal when displayed.
aria-multilineBooleanish-Indicates whether a text box accepts multiple lines of input or only a single line.
aria-multiselectableBooleanish-Indicates that the user may select more than one item from the current selectable descendants.
aria-orientation"horizontal" | "vertical"-Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
aria-ownsstring-Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. @see aria-controls.
aria-placeholderstring-Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
aria-posinsetnumber-Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. @see aria-setsize.
aria-pressedboolean | "false" | "true" | "mixed"-Indicates the current "pressed" state of toggle buttons. @see aria-checked @see aria-selected.
aria-readonlyBooleanish-Indicates that the element is not editable, but is otherwise operable. @see aria-disabled.
aria-relevant"text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"-Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. @see aria-atomic.
aria-requiredBooleanish-Indicates that user input is required on the element before a form may be submitted.
aria-roledescriptionstring-Defines a human-readable, author-localized description for the role of an element.
aria-rowcountnumber-Defines the total number of rows in a table, grid, or treegrid. @see aria-rowindex.
aria-rowindexnumber-Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. @see aria-rowcount @see aria-rowspan.
aria-rowindextextstring-Defines a human readable text alternative of aria-rowindex. @see aria-colindextext.
aria-rowspannumber-Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. @see aria-rowindex @see aria-colspan.
aria-selectedBooleanish-Indicates the current "selected" state of various widgets. @see aria-checked @see aria-pressed.
aria-setsizenumber-Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. @see aria-posinset.
aria-sort"none" | "ascending" | "descending" | "other"-Indicates if items in a table or grid are sorted in ascending or descending order.
aria-valuemaxnumber-Defines the maximum allowed value for a range widget.
aria-valueminnumber-Defines the minimum allowed value for a range widget.
aria-valuenownumber-Defines the current value for a range widget. @see aria-valuetext.
aria-valuetextstring-Defines the human readable text alternative of aria-valuenow for a range widget.

Auf dieser Seite