ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

FileUploader: add `required` and `accessibleNameRef`

Open Lukas742 opened this issue 3 years ago • 3 comments

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

Lukas742 avatar Oct 06 '22 08:10 Lukas742

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?

georgimkv avatar Oct 06 '22 10:10 georgimkv

Hello @Lukas742,

We'll start working on adding accessibleNameRef while for required there are internal discussions that are currently taking place.

Regards, Diana

DMihaylova avatar May 23 '23 09:05 DMihaylova

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.

DMihaylova avatar Dec 20 '23 09:12 DMihaylova