FileUploader: add `required` and `accessibleNameRef`
Feature Request Description
For screen reader support we need to be able to mark every input-like component as required and also add a label to them. For this we would need the FileUploader to accept required and accessibleNameRef.
Proposed Solution
Add required and accessibleNameRef to the component's public properties/attributes.
Additional Context
We need this for our FilterBar implementation. There it's possible to set a label for a filter and also make it mandatory (required). Per default screen readers don't read the label on top of the filter (for that we need accessibleNameRef) and if the filter is required, the input should be required as well (for that we need required).
Priority
- [ ] Low
- [x] Medium
- [ ] High
- [ ] Very High
A clear and concise description of the impact/urgency of the required feature.
Stakeholder Info (if applicable)
- Organization: UI5 Web Components for React
Hi @SAP/ui5-webcomponents-topic-b
This is a feature request to add required and accessibleNameRef to the FileUploader.
Note that there isn't a required equivalent in the corresponding OpenUI5 control.
Would you have a look?
Hello @Lukas742,
We'll start working on adding accessibleNameRef while for required there are internal discussions that are currently taking place.
Regards, Diana
Hello @Lukas742,
We implemented accessibleNameRef. The reason for the delay of this issue is because together with the design colleagues we are working on a potential redesign of the component's look. That's a prerequisite for implementing required.