SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.51k stars 263 forks source link

[Feature Request]:[SF][Avatar] Allow to be hidden from screen reader #9912

Open 2bno1 opened 1 week ago

2bno1 commented 1 week ago

Feature Request Description

In most case, avatar is non-meaningful to blind user. Per SF's A11y guideline, such non-meaningful content should be hidden from the screen reader.

Proposed Solution

aria-hidden attribute can be set to the avatar shadow root element (https://github.com/SAP/ui5-webcomponents/blob/d8fff1a36555ac2ab8789f160c19e2d4dfb5f0d2/packages/main/src/Avatar.hbs#L1) via some way.

Proposed Alternatives

No response

Organization

No response

Additional Context

No response

Priority

None

Privacy Policy

IlianaB commented 1 week ago

Hello @SAP/ui5-webcomponents-topic-p, take a look of this feature request about allowing the avatar to be hidden from screen reader.

Regards, Iliana