@elemental/ui / Class

LmnAccessibilityAttrsDirective

Decorators:@Directive
Selectors:[lmnAccessibilityAttrs]

Angular directive with all the available ARIA attributes as inputs. Use it for component composition.

Properties

NameTypeDescription
attrAriaActiveDescendant
r
InputSignal<string | undefined>

If defined, an aria-activedescendant="[value]" attribute can be managed in the component.

attrAriaAtomic
r
InputSignalWithTransform<boolean | undefined, unknown>

If it is set to true, an aria-atomic="true" attribute can be managed in the component.

attrAriaChecked
r
InputSignal<LmnAriaChecked | undefined>

If defined and different from false, an aria-checked="[value]" attribute can be managed in the component.

attrAriaControls
r
InputSignal<string | undefined>

If defined, an aria-controls="[value]" attribute can be managed in the component.

attrAriaCurrent
r
InputSignal<LmnAriaCurrent | undefined>

If defined and different from false, an aria-current="[value]" attribute can be managed in the component. It is only applied if attrRole is different from "tab".

attrAriaDescribedBy
r
InputSignal<string | undefined>

If defined, an aria-describedby="[value]" attribute can be managed in the component.

attrAriaDescription
r
InputSignal<string | undefined>

If defined, an aria-description="[value]" attribute can be managed in the component.

attrAriaDetails
r
InputSignal<string | undefined>

If defined, an aria-details="[value]" attribute can be managed in the component.

attrAriaErrorMessage
r
InputSignal<string | undefined>

If defined, an aria-errormessage="[value]" attribute can be managed in the component.

attrAriaExpanded
r
InputSignalWithTransform<boolean | undefined, unknown>

If it is set to true, an aria-expanded="true" attribute can be managed in the component.

attrAriaHasPopup
r
InputSignal<LmnAriaHasPopup | undefined>

If defined and different from false, an aria-haspopup="[value]" attribute can be managed in the component. "menuitemcheckbox", "menuitemradio" or "tab".

attrAriaInvalid
r
InputSignal<LmnAriaInvalid | undefined>

If defined and different from false, an aria-invalid="[value]" attribute can be managed in the component.

attrAriaLabel
r
InputSignal<string | undefined>

If defined, an aria-label="[value]" attribute can be managed in the component.

attrAriaLabelledBy
r
InputSignal<string | undefined>

If defined, an aria-labelledby="[value]" attribute can be managed in the component.

attrAriaLive
r
InputSignal<LmnAriaLive | undefined>

If defined, an aria-live="[value]" attribute can be managed in the component.

attrAriaOwns
r
InputSignal<string | undefined>

If defined, an aria-owns="[value]" attribute can be managed in the component.

attrAriaPosInSet
r
InputSignalWithTransform<number | undefined, unknown>

If defined, an aria-posinset="[value]" attribute can be managed in the component.

attrAriaReadonly
r
InputSignalWithTransform<boolean | undefined, unknown>

If it is set to true, an aria-readonly="true" attribute can be managed in the component.

attrAriaRelevant
r
InputSignal<LmnAriaRelevant | undefined>

If defined, an aria-relevant="[value]" attribute can be managed in the component.

attrAriaRequired
r
InputSignalWithTransform<boolean | undefined, unknown>

If it is set to true, an aria-readonly="true" attribute can be managed in the component.

attrAriaRoleDescription
r
InputSignal<string | undefined>

If defined, an aria-roledescription="[value]" attribute can be managed in the component.

attrAriaSelected
r
InputSignalWithTransform<boolean | undefined, unknown>

If it is set to true, an aria-selected="true" attribute can be managed in the component.

attrAriaSetSize
r
InputSignalWithTransform<number | undefined, unknown>

If defined, an aria-setsize="[value]" attribute can be managed in the component.