Description
Which generators are impacted?
- All
- HTML
- React
- Angular
- Vue
- Web components
- Power Apps
Reproduction case
Compared to DBInput
, it is not possible to add an aria-describedBy
attribute to other form elements.
Passing this information is ignored and but it shouldn't.
Similiar to DBInput
where the property is checked and used if passed, it should also be possible to pass a property for other form elements like DBCheckbox
or DBSelect
. It should also be documented.
DBInput:
aria-describedby={props.ariaDescribedBy ?? state._descByIds}
DBSelect:
aria-describedby={state._descByIds}
See: https://github.com/db-ux-design-system/core-web/blob/main/packages/components/src/components/select/select.lite.tsx#L233
Or Checkbox - see: https://github.com/db-ux-design-system/core-web/blob/main/packages/components/src/components/checkbox/checkbox.lite.tsx#L207
Expected Behaviour
All form elements should allow to pass a aria-describedBy
prop (or ariaDescribedBy
)
Screenshots
No response
Browser version
None
Add any other context about the problem here.
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status