Closed ee92 closed 2 years ago
Hello colleagues,
Can you please take a look at this case? @SAP/ui5-webcomponents-topic-rl
I see that the icon root has a aria-label="Decline" and this might cause the addition of the "Decline" to the information read out.
Best Regards, Tsani
Hello,
The issue seems to be caused by the ui5-button, since when a tooltip is set, the button is setting role="img" to the icon which is incorrect, also aria-label should not be present in this case. Тhis leads to incorrect speech output of the icon’s aria-label “Decline” instead of the tooltip of the Button. In UI5, when an icon only button has a title, the icon is rendered with role presentation and no aria-label.
Best regards, Ivaylo
Bug Description
The close button of the message strip reads "Decline" instead of "Close" which can cause confusion for non-sighted users, since the name doesn't reflect the action. The "Decline" message is also read out twice.
Expected Behavior
Expect the message strip close button to have aria label with "Close" instead of "Decline" like the one in UI5: https://sapui5.hana.ondemand.com/#/entity/sap.m.MessageStrip/sample/sap.m.sample.MessageStrip
Steps to Reproduce
Context
Priority
Stakeholder Info