Closed sleric1024 closed 3 years ago
Hi @sleric1024
Since this component is developed by the UI5 Web Components team, I have transferred this issue to their repo.
Hello @SAP/ui5-webcomponents-topic-p could you please take a look if this is the expected behavior. Thanks and Best Regards, Konstantin
Hi @sleric1024,
the non-interactive (interactive = false) avatar should still be accessible and available for the screen reader users. For example, when navigating in reading mode (Virtual PC cursor ON) avatar accessibility should still be read out to the users. Moreover, testing the screen reader behavior with mouse/pointer inputs (clicks) is not an ordinary approach, as the common operable approach is to use a Keyboard Interface.
Kind Regards, Dobrin
Describe the bug When the avatar is not focusable and pressable (interactive = false), it should be hidden from screen readers.
Isolated Example UI5-WC-React Demo https://tr4jt.csb.app/
UI5 Demo https://sapui5.hana.ondemand.com/#/entity/sap.m.Avatar/sample/sap.m.sample.Avatar
To Reproduce Steps to reproduce the behavior:
Expected behavior When the avatar is not focusable and pressable then it should hide from screen readers. Expect the same behavior like https://sapui5.hana.ondemand.com/#/entity/sap.m.Avatar/sample/sap.m.sample.Avatar
Screenshots If applicable, add screenshots to help explain your problem.
UI5 Web Components for React Information
@ui5/webcomponents
version: Current Version@ui5/webcomponents-react
version: Current Version Operating System: Windows Browser: ChromeAdditional context I am from SAP SuccessFactors