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

[Avatar]: decorative property should be supported

Open pankajpandey01 opened this issue 1 year ago • 6 comments

Is your feature request related to a problem?

Yes. In some cases Avatar is just used for decorative purpose and should be ignored by accessibility tools. For example: Avatar user name is shown in text beside the avatar, In this case Screen reader will read user name from text and also from Avatar accessibleName as shown below Screenshot 2024-09-13 at 4 42 33 PM

Describe the solution you'd like

Provide decorative property like : https://ui5.sap.com//#/api/sap.m.Avatar%23controlProperties

Describe alternatives you've considered

No response

Additional Context

No response

Organization

SuccessFactors

Declaration

  • [X] I’m not disclosing any internal or sensitive information.

pankajpandey01 avatar Sep 13 '24 23:09 pankajpandey01

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.

MarcusNotheis avatar Sep 15 '24 07:09 MarcusNotheis

Hello @SAP/ui5-webcomponents-topic-p, take a look of this feature request.

Regards, Iliana

IlianaB avatar Sep 16 '24 08:09 IlianaB

Hi @pankajpandey01,

Thanks for your feature request! As per the new design requirements, this item should go through the inner source process. Could you please create a Jira item for Central Design and include the E1 reference number here? Let me know if you have questions!

Thanks and Best Regards, Dobrin

dobrinyonkov avatar Sep 26 '24 12:09 dobrinyonkov

Hi @dobrinyonkov , I don't see any design change in this feature request. Its a a11y feature which will not affect design and it is already supported in UI5 https://ui5.sap.com//#/api/sap.m.Avatar%23controlProperties. So please let me know why central design ticket is needed?

pankajpandey01 avatar Sep 26 '24 18:09 pankajpandey01

Hi @pankajpandey01,

While the UI5 Avatar control supports this property, it is not currently part of the a11y specification. As such, the specification will need to be updated. Since the a11y specification is now managed by the design team, any updates or changes must go through their evaluation process.

Regards, Dobrin

dobrinyonkov avatar Oct 01 '24 12:10 dobrinyonkov

Hi @dobrinyonkov created central design ticket : FIORITECHE1-8671

Thanks, Pankaj

pankajpandey01 avatar Oct 17 '24 21:10 pankajpandey01