Bug Description
Icon="Image" announced as clickable:

Affected Component
Icon
Expected Behaviour
Same as for UI5 Icon; no clickable announcement
var oIcon = new sap.ui.core.Icon({
src: "sap-icon://syringe",
alt: "an alt text",
decorative: false
});
Isolated Example
In snippix search for 199893, saved under name Judith and #945006 to open the dialog.
Steps to Reproduce
- Set VPC mode of a screen reader on icon
- Voiceover and NVDA announce the icon as clickable
- Press enter when virtual cursor focus is on the icon -> the attached click handler is executed, a dialog is opening. Recording attached to ECT-275234 Voiceover.mov .
...
https://github.com/UI5/webcomponents/blob/main/packages/main/src/IconTemplate.tsx#L37 onClick={this._onclick} is attached always.
Log Output, Stack Trace or Screenshots
No response
Priority
None
UI5 Web Components Version
nightly
Browser
Chrome
Operating System
No response
Additional Context
No response
Organization
No response
Declaration
Bug Description
Icon="Image" announced as clickable:

Affected Component
Icon
Expected Behaviour
Same as for UI5 Icon; no clickable announcement
var oIcon = new sap.ui.core.Icon({
src: "sap-icon://syringe",
alt: "an alt text",
decorative: false
});
Isolated Example
In snippix search for 199893, saved under name Judith and #945006 to open the dialog.
Steps to Reproduce
...
https://github.com/UI5/webcomponents/blob/main/packages/main/src/IconTemplate.tsx#L37 onClick={this._onclick} is attached always.
Log Output, Stack Trace or Screenshots
No response
Priority
None
UI5 Web Components Version
nightly
Browser
Chrome
Operating System
No response
Additional Context
No response
Organization
No response
Declaration